ChainBone

Object Hierarchy | 関連する C++クラス:ChainBone

継承

SIObject

ProjectItem

SceneItem

X3DObject

ChainElement

ChainBone

導入

v1.5

詳細

ChainBone オブジェクトはスケルトンチェインの一部です。

メソッド

Add2DChain Add3DChain AddAnnotation AddCamera
AddCameraRig AddChild AddControl AddCustomOp
AddCustomProperty AddFxTree AddGeometry AddICEAttribute
AddLattice AddLight AddLightRig AddMaterial
AddModel AddNull AddNurbsCurve AddNurbsCurveList
AddNurbsCurveList2 AddNurbsSurface AddNurbsSurfaceMesh AddNurbsSurfaceMesh2
AddPolygonMesh AddPrimitive AddProperty AddScriptedOp
AddScriptedOpFromFile AnimatedParameters2 ApplyEnvelope BelongsToオペレータ
EvaluateAt FindChild FindChild2 FindChildren
FindChildren2 GetActivePrimitive2 GetActivePrimitive3 GetBoundingBox
GetICEAttributeFromName GetLocalPropertyFromName GetLocalPropertyFromName2 GetModels2
GetPropertyFromName GetPropertyFromName2 GetStaticKinematicStateオペレータ HasStaticKinematicStateオペレータ
IsA IsAnimated2 IsClassOfオペレータ IsEqualToオペレータ
IsKindOf IsLockedオペレータ IsNodeAnimated IsSelectedオペレータ
LockOwners NodeAnimatedParameters RemoveChild RemoveFromParent
RemoveICEAttribute SetAsSelectedオペレータ SetCapabilityFlagオペレータ SetLock
SetMaterial ShapeAnimatedClusters TaggedParameters UnSetLock

プロパティ

ActivePrimitive Application BranchFlagオペレータ Capabilitiesオペレータ
Categories Children Effector Envelopes
EvaluationID Familiesオペレータ FullNameオペレータ Help
HierarchicalEvaluationID ICEAttributes Index Joint
Kinematics LocalProperties LocalRotation LocalScaling
LocalTranslation LockLevelオペレータ LockMastersオペレータ LockTypeオペレータ
Material Materials Model Models
Nameオペレータ NestedObjects ObjectID Origin
OriginPath Owners PPGLayoutオペレータ Parametersオペレータ
Parent Parent3DObject Primitives Properties
Root Selectedオペレータ Typeオペレータ  
       

VBScript の例

'VBScript example

'effector for first bone

set oEff1 = XSIMath.CreateVector3()

oEff1.x = 3

oEff1.y = 3

oEff1.z = 3

'effector for second bone

set oEff2 = XSIMath.CreateVector3()

oEff2.x = 6

oEff2.y = 0

oEff2.z = 0

'construct skeleton

set oRoot = ActiveProject.ActiveScene.Root

set oChain = oRoot.Add3dChain()

set oBone1 = oChain.AddBone(oEff1)

set oBone2 = oChain.AddBone(oEff2)

'get the root

set oChRoot = oChain.Root

oChRoot.AddBone Array(10, 0, 0)

LogMessage oChRoot.Name

LogMessage typename(oChRoot)

for each oBone in oChRoot.Bones

	LogMessage "Name of bone: " & oBone.Name & "	class: " & typename(oBone)

next

関連項目

ChainRoot ChainEffector ChainRoot.AddBone