Properties
bool
[NotScriptable]
|
Enables or disables terrain decoration. |
bool
[ReadOnly]
[NotReplicated]
[Deprecated]
|
Returns true if the current game is using the smooth terrain system. |
TerrainAcquisitionMethod
[Hidden]
[NotReplicated]
|
BinaryString
[NotScriptable]
|
MaterialColors represents the editor for the Material Color feature, and cannot be edited by scripts. To get the color of a material, use: |
Region3int16
[ReadOnly]
[NotReplicated]
|
Displays the boundaries of the largest possible editable region. |
Color3
|
The tint of the Terrain water. |
float
|
Controls how opaque the Terrain’s water reflections are. |
float
|
The transparency of the Terrain water. |
float
|
Sets the maximum height of the Terrain water waves in studs. |
float
|
Sets how many times the Terrain water waves will move up and down per minute. |
bool
|
Determines whether a part is immovable by physics |
Vector3
[NotReplicated]
|
The angular velocity of the part’s assembly |
Vector3
[ReadOnly]
[NotReplicated]
|
The center of mass of the part’s assembly in world space |
Vector3
[NotReplicated]
|
The linear velocity of the part’s assembly |
float
[ReadOnly]
[NotReplicated]
|
The total mass of the part’s assembly |
BasePart
[ReadOnly]
[NotReplicated]
|
A reference to the root part of the assembly |
float
[Hidden]
[Deprecated]
|
Determines the first parameter for the SurfaceType on the Back face of a part (+Z direction) |
float
[Hidden]
[Deprecated]
|
Determines the second parameter for the SurfaceType on the Back face of a part (+Z direction) |
SurfaceType
|
Determines the type of surface for the Back face of a part (+Z direction) |
InputType
[Hidden]
[Deprecated]
|
Determines the kind of input for the Back face of a part (+Z direction) |
float
[Hidden]
[Deprecated]
|
Determines the first parameter for the SurfaceType on the Bottom face of a part (-Y direction) |
float
[Hidden]
[Deprecated]
|
Determines the second parameter for the SurfaceType on the Bottom face of a part (-Y direction) |
SurfaceType
|
Determines the type of surface for the Bottom face of a part (-Y direction) |
InputType
[Hidden]
[Deprecated]
|
Determines the kind of input for the Bottom face of a part (-Y direction) |
BrickColor
[NotReplicated]
|
Determines the color of a part. |
CFrame
|
Determines the position and rotation of a part in the world |
bool
|
Determines whether a part may collide with other parts. |
bool
|
Determines whether the part is considered during spatial query operations |
bool
|
Determines if the part will trigger |
bool
|
Determines whether or not a part casts a shadow. |
Vector3
[ReadOnly]
[NotReplicated]
|
Describes the world position in which a part’s center of mass is located. |
int
|
Describes the automatically-set ID number of a part’s collision group |
Color3
[NotReplicated]
|
Determines the color of a part. |
PhysicalProperties
|
Determines several physical properties of a part |
float
[Hidden]
[NotReplicated]
[Deprecated]
|
Used to control the Elasticity of the part, but it no longer does anything |
float
[Hidden]
[NotReplicated]
[Deprecated]
|
Used to control the Friction of the part, but now it no longer does anything. |
float
[Hidden]
[Deprecated]
|
Determines the first parameter for the SurfaceType on the Front face of a part (-Z direction) |
float
[Hidden]
[Deprecated]
|
Determines the second parameter for the SurfaceType on the Front face of a part (-Z direction) |
SurfaceType
|
Determines the type of surface for the Front face of a part (-Z direction) |
InputType
[Hidden]
[Deprecated]
|
Determines the kind of input for the Front face of a part (-Z direction) |
float
[Hidden]
[Deprecated]
|
Determines the first parameter for the SurfaceType on the Left face of a part (-Z direction) |
float
[Hidden]
[Deprecated]
|
Determines the second parameter for the SurfaceType on the Left face of a part (-Z direction) |
SurfaceType
|
Determines the type of surface for the Left face of a part (-X direction) |
InputType
[Hidden]
[Deprecated]
|
Determines the kind of input for the Left face of a part (+X direction) |
float
[Hidden]
[NotReplicated]
|
Determines a multiplier for |
bool
|
Determines whether a part is selectable in Studio. |
float
[ReadOnly]
[NotReplicated]
|
Describes the mass of the part, the product of its density and volume |
bool
|
Determines whether the part contributes to the total mass or inertia of its rigid body |
Material
|
Determines the texture and default physical properties of a part |
Vector3
[NotReplicated]
|
Describes the position of the part in the world |
CFrame
|
Specifies the offset of the part’s pivot from its |
Vector3
[NotReplicated]
|
Describes the position of the part in the world |
float
[Hidden]
[ReadOnly]
[NotReplicated]
|
Time since last recorded physics update |
float
|
Determines how much a part reflects the skybox. |
int
[ReadOnly]
[NotReplicated]
|
Describes the smallest change in size allowable by the Resize method |
Faces
[ReadOnly]
[NotReplicated]
|
Describes the faces on which a part may be resized |
float
[Hidden]
[Deprecated]
|
Determines the first parameter for the SurfaceType on the Right face of a part (-X direction) |
float
[Hidden]
[Deprecated]
|
Determines the second parameter for the SurfaceType on the Right face of a part (-X direction) |
SurfaceType
|
Determines the type of surface for the Right face of a part (+X direction) |
InputType
[Hidden]
[Deprecated]
|
Determines the kind of input for the Right face of a part (-X direction) |
int
|
The main rule in determining the root part of an assembly |
Vector3
[Hidden]
[Deprecated]
|
Determines a part’s change in orientation over time |
Vector3
[NotReplicated]
|
The rotation of the part in degrees for the three axes |
Vector3
[NotReplicated]
|
Determines the dimensions of a part (length, width, height) |
float
[ReadOnly]
[NotReplicated]
[Deprecated]
|
The ratio of the part’s density to the density of water determined by the |
float
[Hidden]
[Deprecated]
|
Determines the first parameter for the SurfaceType on the Top face of a part (+Y direction) |
float
[Hidden]
[Deprecated]
|
Determines the second parameter for the SurfaceType on the Top face of a part (+Y direction) |
SurfaceType
|
Determines the type of surface for the Top face of a part (+Y direction) |
InputType
[Hidden]
[Deprecated]
|
Determines the kind of input for the Top face of a part (+Y direction) |
float
|
Determines how much a part can be seen through (the inverse of part opacity) |
Vector3
[Hidden]
[Deprecated]
|
Determines a part’s change in position over time |
BrickColor
[NotReplicated]
[Deprecated]
|
Inherited from PVInstance: Show
Vector3
[NotReplicated]
[NotScriptable]
|
Editor-only property used to rotate the object around its pivot. Scripts must use |
Vector3
[NotReplicated]
[NotScriptable]
|
Editor-only property used to move the object. Scripts must use |
Vector3
[NotReplicated]
[NotScriptable]
|
Editor-only property to set the orientation of the pivot relative to a part. Scripts must use |
Vector3
[NotReplicated]
[NotScriptable]
|
Editor-only property to set the position of the pivot relative to a part. Scripts must use |
bool
|
Determines if an |
string
[ReadOnly]
[NotReplicated]
|
A read-only string representing the class this |
int
[Hidden]
[ReadOnly]
[NotReplicated]
[Deprecated]
|
The cost of saving the instance using data persistence. |
string
|
A non-unique identifier of the |
Instance
[NotReplicated]
|
Determines the hierarchical parent of the |
bool
[Hidden]
|
A deprecated property that used to protect |
int64
[Hidden]
[NotReplicated]
|
bool
[Hidden]
[NotReplicated]
[Deprecated]
|
string
[ReadOnly]
[NotReplicated]
[Deprecated]
|
Functions
bool
[Deprecated]
|
(OBSOLETE) No longer does anything. |
void
[Deprecated]
|
(OBSOLETE) No longer does anything. |
Vector3
|
Returns the world position of the center of the terrain cell (x, y, z). |
Vector3
|
Returns the position of the lower-left-forward corner of the grid cell (x, y, z). |
void
|
Clears the terrain. |
void
[Deprecated]
|
Transforms the legacy terrain engine into the new terrain engine. |
TerrainRegion
|
Stores a chunk of terrain into a |
int
|
Returns the number of non-empty cells in the Terrain. |
void
|
Fills a ball of smooth terrain in a given space |
void
|
Fills a block of smooth terrain with a given location, rotation, size, and material |
void
|
Fills a cylinder of smooth terrain in a given space. |
void
|
Fills a Region3 space with smooth terrain. |
void
|
Fills a wedge-shaped volume of Terrain with the given |
Tuple
[Deprecated]
|
Returns the closest CellMaterial from the legacy terrain engine that matches the smooth terrain voxel specified. |
Color3
|
Returns current terrain material color for specified terrain material. |
Tuple
[Deprecated]
|
Returns if the cell is a water cell. |
void
|
Applies a chunk of terrain to the Terrain object. Note: |
Tuple
[CustomLuaState]
|
Returns a certain region of smooth terrain in table format |
void
|
Replaces the terrain of a material within a region with another material |
void
[Deprecated]
|
Sets the occupancy and material of a specific terrain voxel. |
void
[Deprecated]
|
Sets the occupancy and material of all terrain voxels in a specific region. |
void
|
Sets current terrain material color for specified terrain material. |
void
[Deprecated]
|
Sets the specified terrain voxel’s material to ‘‘Water’’ and sets its occupancy to 1. |
Vector3
|
Returns the grid cell location that contains the point position. |
Vector3
|
Returns the grid cell location that contains the point position, preferring empty grid cells when position is on a grid edge. |
Vector3
|
Returns the grid cell location that contains the point position, preferring non-empty grid cells when position is on a grid edge. |
void
[CustomLuaState]
|
Sets a certain region of smooth terrain using the table format |
void
|
Apply an angular impulse to the assembly |
void
|
Apply an impulse to the assembly at the assembly’s |
void
|
Apply an impulse to the assembly at specified position |
void
|
Breaks any surface connection with any adjacent part, including |
bool
|
Returns whether the parts can collide with each other. |
Tuple
|
Checks whether you can set a |
Objects
|
Returns a table of parts connected to the the object by any kind of rigid joint. |
Objects
|
Return all Joints or Constraints that is connected to this Part. |
float
|
Returns the value of the |
Instance
|
Returns the current player who is the network owner of this part, or nil in case of the server. |
bool
|
Returns true if the game engine automatically decides the network owner for this part. |
CFrame
[Deprecated]
|
(OBSOLETE) Returns a CFrame describing where the part is being rendered at |
Instance
|
Returns the base part of an assembly of parts |
Objects
|
Returns a table of all |
Vector3
|
bool
|
Returns true if the object is connected to a part that will hold it in place (eg an |
void
|
Creates a joint on any side of the object that has a surface ID that can make a joint |
bool
|
Changes the size of an object just like using the Studio resize tool. |
void
|
Sets the given player as network owner for this and all connected parts |
void
|
Lets the game engine dynamically decide who will handle the part’s physics (one of the clients or the server). |
Instance
[Yields]
|
Creates a new |
Instance
[Yields]
|
Performs a Union operation on the calling |
void
[Deprecated]
|
float
[Deprecated]
|
void
[Deprecated]
|
bool
[Deprecated]
|
Inherited from PVInstance: Show
void
|
This function destroys all of an |
Instance
|
Create a copy of an object and all its descendants, ignoring objects that are not |
void
|
Sets the |
Instance
|
Returns the first ancestor of the |
Instance
|
Returns the first ancestor of the |
Instance
|
Returns the first ancestor of the |
Instance
|
Returns the first child of the |
Instance
|
Returns the first child of the |
Instance
|
Returns the first child of the |
Instance
|
Returns the first descendant found with the given |
Actor
|
Returns the Actor associated with the Instance, usually the first Actor ancestor |
Variant
|
Returns the attribute which has been assigned to the given name |
RBXScriptSignal
|
Returns an event that fires when the given attribute changes |
Dictionary
|
Returns a dictionary of string → variant pairs for each of the |
Objects
|
Returns an array containing all of the |
string
[NotBrowsable]
|
Returns a coded string of the |
Array
[CustomLuaState]
|
Returns an array containing all of the descendants of the instance |
string
|
Returns a string describing the |
RBXScriptSignal
|
Get an event that fires when a given property of an object changes. |
bool
[CustomLuaState]
|
Returns true if an |
bool
|
Returns true if an |
bool
|
Returns true if an |
void
[Deprecated]
|
Sets the object’s Parent to nil, and does the same for all its descendants. |
void
|
Sets the attribute with the given name to the given value |
Instance
[CustomLuaState]
[CanYield]
|
Returns the child of the |
Objects
[Deprecated]
|
Returns an array of the object’s children. |
Instance
[Deprecated]
|
void
[Deprecated]
|
Instance
[Deprecated]
|
Objects
[Deprecated]
|
bool
[Deprecated]
[CustomLuaState]
|
bool
[Deprecated]
|
void
[Deprecated]
|
Events
RBXScriptSignal
[Deprecated]
|
. |
RBXScriptSignal
[Deprecated]
|
. |
RBXScriptSignal
[Deprecated]
|
. |
RBXScriptSignal
|
Fired when a part stops touching another part. |
RBXScriptSignal
|
Fired when a part comes in contact with another part |
RBXScriptSignal
|
Fires when the |
RBXScriptSignal
|
Fires whenever an attribute is changed on the |
RBXScriptSignal
|
Fired immediately after a property of an object changes. |
RBXScriptSignal
|
Fires after an object is parented to this |
RBXScriptSignal
|
Fires after a child is removed from this |
RBXScriptSignal
|
Fires after a descendant is added to the |
RBXScriptSignal
|
Fires immediately before a descendant of the |
RBXScriptSignal
|
Fires immediately before the instance is destroyed via |
RBXScriptSignal
[Deprecated]
|