ProtectedconstructorSnap HiddenBending calculation method for the cloth simulation.
Resistance to bending, from 0 to 1.
Physics colliders the cloth can collide with.
Whether cloth collides with physics colliders.
Friction applied during cloth-collider contact.
Distance offset for collision detection.
How stiffly cloth responds to collisions.
Whether debug visualization is rendered.
Whether the component is active.
Simulation updates per second.
Air resistance and internal cloth damping.
Gravity acceleration vector applied to the cloth.
Horizontal alignment of the mesh visual.
ReadonlyidThe unique id of the entity.
Constraint solver iterations per frame.
Primary material used for rendering.
Total cloth mass in kilograms.
Array of all materials on this mesh visual.
Maximum acceleration any vertex can experience.
RenderMesh defining the cloth geometry.
Shadow rendering mode for the mesh.
ReadonlymetaMetadata associated with this entity, providing access to its unique identifier and other descriptive properties.
Name of the component.
Determines the order in which this visual component is rendered relative to others.
ReadonlysceneScene object this component is attached to.
Color of the mesh shadow.
Opacity of the mesh shadow.
How the mesh stretches to fit its container.
Resistance to stretching, from 0 to 1.
ReadonlytypeThe entity's type.
Whether normals are recalculated each frame.
Array of pinned or constrained vertex bindings.
Vertical alignment of the mesh visual.
Remove all materials.
A list of entities which this entity has a reference to.
Get the total number of materials.
StaticgetA list of entities which has a reference to this entity.
StaticgetReturns the name of this object's type.
Returns true if the object is of the specified type.
Returns true if this object refers to the same instance as the given object.
Move a material from one index to another.
Remove the material at the specified index.
Simulates cloth physics with stretching, bending, and collision interactions.