WrapDeformer¶
Allows for the real-time deformation of a MeshPart.
Not implemented yet
This class exists in the current Roblox API but is not implemented in Nova yet. Scripts that reference it will fail at runtime.
Description¶
The WrapDeformer object provides a low-resolution cage mesh that pairs with a WrapTarget sibling to deform a parent MeshPart. The MeshPart geometry is deformed according to the displacement between pairs of WrapTarget cage mesh vertices and WrapDeformer cage mesh vertices. Cage mesh vertices are paired based on UV equivalence.
WrapDeformer may be used with avatars or on distinct MeshParts, as long as WrapTarget children are present for the parent MeshParts. WrapDeformer is similar to WrapLayer but doesn't require layered clothing and can directly deform MeshParts for publishing.
Inheritance¶
Object → Instance → BaseWrap → WrapDeformer
Methods¶
| Member | Signature | Summary |
|---|---|---|
CreateEditableMeshAsync |
WrapDeformer:CreateEditableMeshAsync(): EditableMesh |
Returns an EditableMesh (currently unskinned) equivalent to the deformed parent mesh. |
GetDeformedCFrameAsync |
WrapDeformer:GetDeformedCFrameAsync(originalCFrame: CFrame): CFrame |
Returns a CFrame deformed comparably to the MeshPart. |
SetCageMeshContent |
WrapDeformer:SetCageMeshContent(content: Content, cageOrigin: CoordinateFrame?): null |
Sets the cage mesh used to deform against a sibling WrapTarget cage mesh. |
Roblox reference: WrapDeformer
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.