PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

DataModelMesh

Show deprecated

DataModelMesh

Show deprecated

The DataModelMesh is an abstract class from which mesh classes descend.

Mesh classes are objects that, when parented to BaseParts alter the appearance of the part to that of a predefined mesh. Note, they only alter the appearance of the part and not the physics/collision boundaries of the part. Developers looking to apply a mesh to a part that alters the part’s collision should use MeshParts.

Note the MeshPart and CharacterMesh classes do not descend from DataModelMesh.

Properties

Vector3

Offset

The Offset of a mesh determines the relative position from the BasePart/Position of a BasePart that the mesh will be displayed at.

Vector3

Scale

The Scale of a mesh determines the size of the mesh relative to its original dimensions.

Vector3

VertexColor

Changes the hue of the mesh’s texture. Only functional when used with the SpecialMesh object as it includes the SpecialMesh/TextureId property.

Functions

Events