Value > MAXWrapper > Node > GeometryClass > Deformable_gPoly |
The Deformable_gPoly GeometryClass implements a geometry representation of 3ds Max objects that is optimized for fast viewport display. It provides a representation of objects with the Turn_to_gPoly Modifier applied on the modifier stack.
Available in 3ds Max 2013 and higher.
Class instances not creatable by MAXScript.
In fact, the Deformable_gPoly GeometryClass baseobject is the only 3ds Max object that does not show a User Interface in the Command Panel.
The following Interface exposes methods for updating and manipulating the Deformable_gPoly object.
Interface: Deformable_gPoly
<integer>GetNumberFaces()
Returns the number of faces in the Deformable_gPoly mesh.
<integer>GetNumberVertices()
Returns the number of vertices in the Deformable_gPoly mesh.
<void>ValidateNormals()
Validates the Normal data in the Deformable_gPoly mesh.
Other than the other geometry classes which re-calculate Normals on the fly based on Face Normals and Smoothing Groups on each update, the Deformable_gPoly mesh caches the Normals data. This contributes significantly to the viewport display speed up.
<index>GetMaterialID <index>faceIndex
Returns the Material ID of the indexed face.
<void>Update()
Updates the Deformable_gPoly data.
<void>LockFaceChannel()
<void>UnlockFaceChannel()
<void>CopyFaceChannel <&integer array>buffer buffer is In and Out parameter
Copies the Face Channel into an array of Integers passed by-reference.
<void>PasteFaceChannel <&integer array>buffer buffer is In and Out parameter
Pastes the by-reference array of integers as new Face Channel.
<boolean>LockPosChannel()
Returns true on success, false on failure.
<void>UnlockPosChannel()
<void>CopyPosChannel <&point3 array>buffer buffer is In and Out parameter
Copies the Position Channel into an array of Point3 values passed by-reference.
<void>PastePosChannel <&point3 array>buffer buffer is In and Out parameter
Pastes the by-reference array of Point3 values as new Position Channel.
<boolean>LockNormalChannel()
Returns true on success, false on failure.
<void>UnlockNormalChannel()
<void>CopyNormalChannel <&point3 array>buffer buffer is In and Out parameter
Copies the Normal Channel into an array of Point3 values passed by-reference.
<void>PasteNormalChannel <&point3 array>buffer buffer is In and Out parameter
Pastes the by-reference array of Point3 values as new Normal Channel.
<boolean>LockTangentChannel()
Returns true on success, false on failure.
<void>UnlockTangentChannel()
<void>CopyTangentChannel <&point3 array>buffer buffer is In and Out parameter
Copies the Tangent Channel into an array of Point3 values passed by-reference.
<void>PasteTangentChannel <&point3 array>buffer buffer is In and Out parameter
Pastes the by-reference array of Point3 values as new Tangent Channel.
<boolean>LockBitangentChannel()
Returns true on success, false on failure.
<void>UnlockBitangentChannel()
Unlocks the Bitangent channel.
<void>CopyBitangentChannel <&point3 array>buffer buffer is In and Out parameter
Copies the Bitangent Channel into an array of Point3 values passed by-reference.
<void>PasteBitangentChannel <&point3 array>buffer buffer is In and Out parameter
Pastes the by-reference array of Point3 values as new Bitangent Channel.
<void>getUVWChannels <&integer array>channels channels is In and Out parameter
Writes the allocated mapping channels into a by-reference array of Integers argument.
<boolean>LockUVWChannel <integer>channelIndex
Locks the indexed Mapping channel.
Returns true on success, false on failure.
<void>UnlockUVWChannel <integer>channelIndex
Unlocks the indexed Mapping channel.
<void>CopyUVWChannel <&point3 array>buffer buffer is In and Out parameter
<void>PasteUVWChannel <&point3 array>buffer buffer is In and Out parameter