MeshPart
MeshPart : BasePart
Overview
MeshPart is a class that defines externally created and imported 3D objects, which inherit BasePart and act in a similar role to Part.
Description
The MeshPart class is a type of BasePart that allows developers to use custom 3D meshes in their games. These meshes are created in external 3D modeling software (e.g., Blender, Maya) and imported into OVERDARE Studio as MeshPart objects.
Properties
DoubleSided
bool
Determines whether to render both faces of polygons in the mesh.
Code Samples
HasJointOffset
bool
This property indicates whether the MeshPart has an offset applied to its joint connections, which affects how the MeshPart aligns with other objects or parts in the 3D space.
Code Samples
HasSkinnedMesh
bool
This property determines whether the MeshPart includes or supports a skinned mesh. A skinned mesh allows for smoother deformation of the mesh, enabling complex animations such as facial expressions, bending limbs, or other articulated movements.
Code Samples
JointOffset
Vector3
Determines the positional offset for joints connected to the MeshPart. This property defines a Vector3 value that specifies how far the joint's attachment point is offset from its default position. This is useful for precisely aligning connected parts in a 3D environment.
Code Samples
MeshId
string
The MeshId property is content ID of the mesh asset to be displayed on the MeshPart.
Code Samples
TextureId
string
The TextureId property is content ID of the texture tobe displayed on the MeshPart.
Code Samples
MeshSize
Vector3
MeshSize is representing the size of the mesh displayed on the MeshPart in a 3D space.
Code Samples
MeshIdContent
Content
MeshIdContent holds content information related to the mesh ID used for display on an MeshPart instance.
Code Samples
TextureIdContent
Content
TextureIdContent holds content information related to the texture Id used for display on an MeshPart instance.
Code Samples
Methods
ApplyMesh
The given source meshPart overwrites the meshContent, TextureContent, and crash geometry properties of this meshPart.
Parameters
Instance
InMeshPart
Return
void