|
|
(35 intermediate revisions by 5 users not shown) |
Line 1: |
Line 1: |
| ==Classes [RBX.lua.]==
| |
| All Game objects are based on [[RBX.lua.Instance (Object)|Instance]] and have the "global" methods, properties, and events defined there. Additionally, some classes derive from others, in a hierarchical tree-like structure, the [[Object Hierarchy]].
| |
|
| |
| ==Objects==
| |
| {| cellspacing=5 border=0 width=100% style="vertical-align:top;"
| |
| |style="width:50%; vertical-align:top"|<!--This splits the page into two separate tables right down the middle. This lets the page be built into two columns of items rather than one huge list on the left side. Looks better and is a better use of space.-->
| |
| {{:Object:Accoutrement}}
| |
| {{:Object:Animation}}
| |
| {{:Object:AnimationTrack}}
| |
| {{:Object:ArcHandles}}
| |
| {{:Object:Backpack}}
| |
| {{:Object:BackpackItem}}
| |
| {{:Object:BasePart}}
| |
| {{:Object:BillboardGui}}
| |
| {{:Object:BlockMesh}}
| |
| {{:Object:BodyAngularVelocity}}
| |
| {{:Object:BodyColors}}
| |
| {{:Object:BodyForce}}
| |
| {{:Object:BodyGyro}}
| |
| {{:Object:BodyPosition}}
| |
| {{:Object:BodyThrust}}
| |
| {{:Object:BodyVelocity}}
| |
| {{:Object:BoolValue}}
| |
| {{:Object:BrickColorValue}}
| |
| {{:Object:Camera}}
| |
| {{:Object:CFrameValue}}
| |
| {{:Object:ClickDetector}}
| |
| {{:Object:Clothing}}
| |
| {{:Object:Color3Value}}
| |
| {{:Object:Configuration}}
| |
| {{:Object:CylinderMesh}}
| |
| {{:Object:Decal}}
| |
| {{:Object:DynamicRotate}}
| |
| {{:Object:Explosion}}
| |
| {{:Object:Feature}}
| |
| {{:Object:FileMesh}}
| |
| {{:Object:Flag}}
| |
| {{:Object:FlagStand}}
| |
| {{:Object:ForceField}}
| |
| {{:Object:Frame}}
| |
| {{:Object:Glue}}
| |
| {{:Object:Handles}}
| |
| {{:Object:Hat}}
| |
| {{:Object:Hole}}
| |
| {{:Object:HopperBin}}
| |
| {{:Object:Humanoid}}
| |
| {{:Object:ImageButton}}
| |
| {{:Object:ImageLabel}}
| |
| {{:Object:Instance}}
| |
| {{:Object:IntValue}}
| |
| {{:Object:JointInstance}}
| |
| {{:Object:Keyframe}}
| |
| {{:Object:LocalScript}}
| |
| {{:Object:Message}}
| |
| {{:Object:Model}}
| |
|
| |
| |style="width:50%; vertical-align:top"|<!-- Start of second column --->
| |
| {{:Object:Motor}}
| |
| {{:Object:MotorFeature}}
| |
| {{:Object:Mouse}}
| |
| {{:Object:NumberValue}}
| |
| {{:Object:ObjectValue}}
| |
| {{:Object:Pants}}
| |
| {{:Object:Part}}
| |
| {{:Object:Platform}}
| |
| {{:Object:Player}}
| |
| {{:Object:Pose}}
| |
| {{:Object:ProfilingItem}}
| |
| {{:Object:RayValue}}
| |
| {{:Object:RocketPropulsion}}
| |
| {{:Object:RotateP}}
| |
| {{:Object:RotateV}}
| |
| {{:Object:ScreenGui}}
| |
| {{:Object:Script}}
| |
| {{:Object:ScriptContext}}
| |
| {{:Object:Seat}}
| |
| {{:Object:Selection}}
| |
| {{:Object:SelectionBox}}
| |
| {{:Object:SelectionPartLasso}}
| |
| {{:Object:SelectionPointLasso}}
| |
| {{:Object:Shirt}}
| |
| {{:Object:ShirtGraphic}}<!--
| |
| {{:Object:SkateboardPlatform}}
| |
| {{:Object:Skin}}
| |
| {{:Object:Sky}}
| |
| {{:Object:Smoke}}
| |
| {{:Object:Snap}}
| |
| {{:Object:Sound}}-->
| |
| {{:Object:Sparkles}}
| |
| {{:Object:SpawnLocation}}<!--
| |
| {{:Object:SpecialMesh}}
| |
| {{:Object:StarterGear}}
| |
| {{:Object:StarterGui}}
| |
| {{:Object:StarterPack}}
| |
| {{:Object:StatsItem}}-->
| |
| {{:Object:StringValue}}
| |
| {{:Object:SurfaceSelection}}
| |
| {{:Object:Team}}
| |
| {{:Object:TextBox}}
| |
| {{:Object:TextButton}}
| |
| {{:Object:TextLabel}}
| |
| {{:Object:Texture}}
| |
| {{:Object:Tool}}
| |
| {{:Object:TouchTransmitter}}
| |
| {{:Object:TrussPart}}
| |
| {{:Object:Vector3Value}}
| |
| {{:Object:VehicleSeat}}
| |
| {{:Object:VelocityMotor}}
| |
| {{:Object:WedgePart}}
| |
| {{:Object:Weld}}
| |
|
| |
| |}<!-- End of Objects table -->
| |
|
| |
| ==Services==
| |
| {| cellspacing=5 border=0 width=100% style="vertical-align:top;"
| |
| |style="width:50%; vertical-align:top"|<!-- Start of first column -->
| |
|
| |
| {{:Service:BadgeService}}
| |
| {{:Service:ChangedHistoryService}}
| |
| {{:Service:Debris}}
| |
| {{:Service:InsertService}}
| |
|
| |
| |style="width:50%; vertical-align:top"|<!-- Start of second column -->
| |
|
| |
| {{:Service:Players}}
| |
| {{:Service:PlayerGui}}
| |
| {{:Service:Teams}}
| |
| {{:Service:Workspace}}
| |
|
| |
| |}<!-- End of services table -->
| |
|
| |
| ---- | | ---- |
| == Old Classes Page == | | == Old Classes Page == |
Line 137: |
Line 6: |
| |+<big>'''Items in ''Italics'' are preliminary, and can change without notice. Use for experimental work only.''' '''Items that are <s>striked-through</s> are deprecated. Use with these objects should be avoided.'''</big> | | |+<big>'''Items in ''Italics'' are preliminary, and can change without notice. Use for experimental work only.''' '''Items that are <s>striked-through</s> are deprecated. Use with these objects should be avoided.'''</big> |
| |- | | |- |
| ! '''3D Objects'''
| |
| !'''Physics Objects''' | | !'''Physics Objects''' |
| !'''GUI Objects''' | | !'''GUI Objects''' |
| !'''Player Objects''' | | !'''Player Objects''' |
| !'''Value holders'''
| |
| |-
| |
| |valign="top"|<!-- 3D Objects -->
| |
| {| class="wikitable" cellspacing=5 border=0 width = 100% style="background-color: #fdd;"
| |
| |''[[RBX.lua.CharacterMesh (Object)|CharacterMesh]]''
| |
| |- | | |- |
| |[[RBX.lua.Hint (Object)|Hint]]
| |
| |-
| |
| |''[[RBX.lua.HtmlWindow (Object)|HtmlWindow]]''
| |
| |-
| |
| |[[RBX.lua.Lighting (Object)|Lighting]]
| |
| |-
| |
| |[[RBX.lua.SpecialMesh (Object)|SpecialMesh]]
| |
| |-
| |
| |[[RBX.lua.Texture (Object)|Texture]]
| |
| |-
| |
| |''[[RBX.lua.Sky (Object)|Sky]]''
| |
| |-
| |
| |''[[RBX.lua.SpawnLocation (Object)|SpawnLocation]]''
| |
| |-
| |
| |[[RBX.lua.Sound (Object)|Sound]]
| |
| |-
| |
| |[[RBX.lua.Sparkles (Object)|Sparkles]]
| |
| |}
| |
|
| |
|
| |
| |valign="top"|<!-- Physics objects --> | | |valign="top"|<!-- Physics objects --> |
| {| class="wikitable" cellspacing=5 border=0 width = 100% style="background-color: #fdd;" | | {| class="wikitable" cellspacing=5 border=0 width = 100% style="background-color: #fdd;" |
| |[[RBX.lua.AutoJoint (Object)|AutoJoint]] | | |[[RBX.lua.AutoJoint (Object)|AutoJoint]] |
| |-
| |
| |[[RBX.lua.MotorFeature (Object)|MotorFeature]]
| |
| |-
| |
| |''[[RBX.lua.RocketPropulsion (Object)|RocketPropulsion]]''
| |
| |-
| |
| |[[RBX.lua.Rotate (Object)|Rotate]]
| |
| |-
| |
| |[[RBX.lua.RotateP (Object)|RotateP]]
| |
| |-
| |
| |[[RBX.lua.RotateV (Object)|RotateV]]
| |
| |-
| |
| |[[RBX.lua.Snap (Object)|Snap]]
| |
| |} | | |} |
|
| |
|
| |valign="top"|<!-- GUI objects --> | | |valign="top"|<!-- GUI objects --> |
| {| class="wikitable" cellspacing=5 border=0 width = 100% style="background-color: #fdd;" | | {| class="wikitable" cellspacing=5 border=0 width = 100% style="background-color: #fdd;" |
| |-
| |
| |'' <span style="font-size:1.3em"> 2D GUI Objects </span> ''
| |
| |-
| |
| |[[RBX.lua.CoreGui (Service)|CoreGui]]
| |
| |-
| |
| |<s>[[RBX.lua.GuiMain (Object)|GuiMain]]</s> | | |<s>[[RBX.lua.GuiMain (Object)|GuiMain]]</s> |
| |-
| |
| |[[RBX.lua.TextButton (Object)|TextButton]]
| |
| |-
| |
| |'' <span style="font-size:1.3em;"> 3D GUI Objects </span> ''
| |
| |-
| |
| |''[[RBX.lua.SelectionBox (Object)|SelectionBox]]''
| |
| |-
| |
| |''[[RBX.lua.SelectionPartLasso (Object)|SelectionPartLasso]]''
| |
| |-
| |
| |''[[RBX.lua.SelectionPointLasso (Object)|SelectionPointLasso]]''
| |
| |-
| |
| |''[[RBX.lua.SurfaceSelection (Object)|SurfaceSelection]]''
| |
| |} | | |} |
|
| |
|
Line 212: |
Line 26: |
| |- | | |- |
| |[[RBX.lua.localBackpackItem (Object)|LocalBackpackItem]] | | |[[RBX.lua.localBackpackItem (Object)|LocalBackpackItem]] |
| |-
| |
| |''[[RBX.lua.StarterPack (Object)|StarterPack]]''
| |
| |- | | |- |
| |[[RBX.lua.Stats (Object)|Stats]] | | |[[RBX.lua.Stats (Object)|Stats]] |
| |- | | |- |
| |''[[RBX.lua.Team (Object)|Team]]'' | | |[[RBX.lua.CharacterMesh (Object)|CharacterMesh]] |
| |-
| |
| |''[[RBX.lua.Tool (Object)|Tool]]''
| |
| |-
| |
| |''[[RBX.lua.Player (Object)|Player]]''
| |
| |-
| |
| |[[RBX.lua.Shirt (Object)|Shirt]]
| |
| |-
| |
| |''[[RBX.lua.ShirtGraphic (Object)|ShirtGraphic]]''
| |
| |-
| |
| |''[[RBX.lua.Skin (Object)|Skin]]''
| |
| |}
| |
| | |
| | |
| |valign="top"|<!-- Value holders -->
| |
| {| class="wikitable" cellspacing=5 border=0 width = 100% style="background-color: #fdd;"
| |
| |} | | |} |
| |} | | |} |
Line 243: |
Line 40: |
| {| class="wikitable" cellspacing=5 border=0 width = 100% style="background-color: #fdd;" | | {| class="wikitable" cellspacing=5 border=0 width = 100% style="background-color: #fdd;" |
| |[[RBX.lua.ControllerService (Service)|ControllerService]] | | |[[RBX.lua.ControllerService (Service)|ControllerService]] |
| |-
| |
| |''[[RBX.lua.DataModel (Service)|DataModel]]''
| |
| |- | | |- |
| |[[RBX.lua.FlagStandService (Service)|FlagStandService]] | | |[[RBX.lua.FlagStandService (Service)|FlagStandService]] |
Line 251: |
Line 46: |
| |- | | |- |
| |[[RBX.lua.RunService (Service)|RunService]] | | |[[RBX.lua.RunService (Service)|RunService]] |
| |-
| |
| |[[RBX.lua.ScriptContext (Service)|ScriptContext]]
| |
| |-
| |
| |[[RBX.lua.Selection (Service)|Selection]]
| |
| |- | | |- |
| |[[RBX.lua.SoundService (Service)|SoundService]] | | |[[RBX.lua.SoundService (Service)|SoundService]] |