EnvelopeWeight.Deformers

EnvelopeWeight.Deformers

説明

エンベロープのシェイプを制御するすべての X3DObject オブジェクト(デフォーマ)を含む X3DObjectCollection を戻します。

C#構文

// get accessor

X3DObjectCollection rtn = EnvelopeWeight.Deformers;

VBScript の例

'

' This example enumerates the deformers of an envelope with the 

' EnveloperWeight property.

'

set oRoot = Application.ActiveProject.ActiveScene.Root

set oSphere = oRoot.AddGeometry( "Sphere", "MeshSurface")

set oChainRoot = oRoot.Add3DChain

oSphere.ApplyEnvelope oChainRoot, siBranch 

'get the envelope weight property installed 

set oEnvelopWeight = oSphere.ActivePrimitive.Geometry.Clusters(0).Properties(0)

for each d in oEnvelopWeight.Deformers

	LogMessage d.Name

next