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

FileMesh

Show deprecated

FileMesh

Show deprecated

The FileMesh object applies a textured mesh to a BasePart when parented to it. Its properties are inherited by the SpecialMesh object.

What is a FileMesh?

FileMeshes allow user uploaded meshes to be applied to a BasePart. The mesh that is applied is dependent on the FileMesh/MeshId property. A texture can also be applied to this mesh using FileMesh/TextureId.

Although it is not an abstract class, and can be used by developers, all FileMesh properties are inherited by the SpecialMesh object. A SpecialMesh behaves identically to the FileMesh object when its SpecialMesh/MeshType is set to ‘FileMesh’. Although both objects are functional, the SpecialMesh object is the official supported class.

For more information on using meshes, please see the SpecialMesh page.

Properties

Content

MeshId

The MeshId is the content ID of the mesh that is to be displayed.

Content

TextureId

The TextureId is the content ID of the texture that is to be applied to the mesh.

Functions

Events