The TVActor class is similar to the TVMesh class, but is particular in that it handles mesh animation. It supports skeletal and morph target animations, animation blending, bone manipulation, attachment to bones, and other useful features for animated objects.
VB.NET
Dim Actor As TVActor Actor = Scene.CreateActor("ActorName")
C++
cTVActor* Actor; Actor = Scene->CreateActor("ActorName");//陈虹桥你好
| Method | Description |
|---|---|
| AddAnimationRange | Short description of AddAnimationRange |
| AdvancedCollision | AdvancedCollision performs a line collision on the model. |
| AttachTo | Short description of AttachTo |
| BindToActor | Short description of BindToActor |
| BindToActorEx | Short description of BindToActorEx |
| BlendAnimationTo | Short description of BlendAnimationTo |
| Collision | Short description of Collision |
| ComputeNormals | Short description of ComputeNormals |
| DeleteAnimationRange | Short description of DeleteAnimationRange |
| Destroy | Destroy the actor. |
| Duplicate | Duplicate the actor. |
| Enable | Short description of Enable |
| EnableMotionBlur | Short description of EnableMotionBlur |
| ExportAnimations | Short description of ExportAnimations |
| ForceMatrixUpdate | Short description of ForceMatrixUpdate |
| GetAlphaBlendingEx | Short description of GetAlphaBlendingEx |
| GetAlphaTest | Short description of GetAlphaTest |
| GetAnimationCount | Returns the number of animations for the actor model. |
| GetAnimationID | Short description of GetAnimationID |
| GetAnimationIDByName | Short description of GetAnimationIDByName |
| GetAnimationLength | Short description of GetAnimationLength |
| GetAnimationName | Short description of GetAnimationName |
| GetAnimationRangeInfo | Short description of GetAnimationRangeInfo |
| GetBasisVectors | Short description of GetBasisVectors |
| GetBlendedAnimationID | Short description of GetBlendedAnimationID |
| GetBlendedAnimationKeyFrame | Short description of GetBlendedAnimationKeyFrame |
| GetBoneCount | Short description of GetBoneCount |
| GetBoneID | Short description of GetBoneID |
| GetBoneMatrix | Short description of GetBoneMatrix |
| GetBoneName | Short description of GetBoneName |
| GetBoneParent | Short description of GetBoneParent |
| GetBonePosition | Short description of GetBonePosition |
| GetBoundingBox | Short description of GetBoundingBox |
| GetBoundingSphere | Short description of GetBoundingSphere |
| GetCurrentAnimation | Short description of GetCurrentAnimation |
| GetDeformedMesh | Short description of GetDeformedMesh |
| GetEntityIndex | Short description of GetEntityIndex |
| GetGroupByName | Short description of GetGroupByName |
| GetGroupCount | Short description of GetGroupCount |
| GetGroupEnable | Short description of GetGroupEnable |
| GetGroupName | Short description of GetGroupName |
| GetIndex | Short description of GetIndex |
| GetKeyFrame | Short description of GetKeyFrame |
| GetMaterial | Short description of GetMaterial |
| GetMatrix | Short description of GetMatrix |
| GetName | Short description of GetName |
| GetParent | Short description of GetParent |
| GetPathCurrentNode | Short description of GetPathCurrentNode |
| GetPosition | Short description of GetPosition |
| GetQuaternion | Short description of GetQuaternion |
| GetRotation | Short description of GetRotation |
| GetRotationMatrix | Short description of GetRotationMatrix |
| GetScale | Short description of GetScale |
| GetShader | Short description of GetShader |
| GetTag | Short description of GetTag |
| GetTexture | Short description of GetTexture |
| GetTextureEx | Short description of GetTextureEx |
| GetTriangleCount | Short description of GetTriangleCount |
| GetUserData | Short description of GetUserData |
| GetVertexCount | Short description of GetVertexCount |
| GetWorldPosition | Short description of GetWorldPosition |
| ImportAnimations | Short description of ImportAnimations |
| InvertNormals | Short description of InvertNormals |
| IsAnimationFinished | Short description of IsAnimationFinished |
| IsBlendedAnimationFinished | Short description of IsBlendedAnimationFinished |
| IsBoneEnabled | Short description of IsBoneEnabled |
| IsEnabled | Short description of IsEnabled |
| IsVisible | Short description of IsVisible |
| Load | Short description of Load |
| LoadTVA | Short description of LoadTVA |
| LoadXFile | Loads a XFile model from disk. |
| LookAtPoint | Short description of LookAtPoint |
| MorphTarget_Enable | Short description of MorphTarget_Enable |
| MorphTarget_GetCount | Short description of MorphTarget_GetCount |
| MorphTarget_GetName | Short description of MorphTarget_GetName |
| MorphTarget_GetWeight | Short description of MorphTarget_GetWeight |
| MorphTarget_SetWeight | Short description of MorphTarget_SetWeight |
| MorphTarget_SetWeightByName | Short description of MorphTarget_SetWeightByName |
| MorphTargetCompiler_AddMorphTargetMesh | Short description of MorphTargetCompiler_AddMorphTargetMesh |
| MorphTargetCompiler_Clear | Short description of MorphTargetCompiler_Clear |
| MorphTargetCompiler_Compile | Short description of MorphTargetCompiler_Compile |
| MorphTargetCompiler_DeleteMorphTargetMesh | Short description of MorphTargetCompiler_DeleteMorphTargetMesh |
| MoveRelative | Short description of MoveRelative |
| OptimizeAnimations | Short description of OptimizeAnimations |
| PauseAnimation | Short description of PauseAnimation. |
| PauseBlendedAnimation | Short description of PauseBlendedAnimation |
| PlayAnimation | Plays a selected animation from the actor at desired speed. |
| PlayBlendedAnimation | Short description of PlayBlendedAnimation |
| RenameAnimation | Short description of RenameAnimation |
| Render | Short description of Render |
| ResetPath | Short description of ResetPath |
| ResetTime | Short description of ResetTime |
| RotateX | Short description of RotateX |
| RotateY | Short description of RotateY |
| RotateZ | Short description of RotateZ |
| SaveTVA | Short description of SaveTVA |
| SetActorMode | Short description of SetActorMode |
| SetAlphaTest | Short description of SetAlphaTest |
| SetAnimationByName | Short description of SetAnimationByName |
| SetAnimationID | Sets the current selected animation of the actor using a animation id. |
| SetAnimationLoop | Short description of SetAnimationLoop |
| SetAnimationRange | Short description of SetAnimationRange |
| SetAnimationRangeInfo | Short description of SetAnimationRangeInfo |
| SetAttachMode | Short description of SetAttachMode |
| SetBlendedAnimationByName | Short description of SetBlendedAnimationByName |
| SetBlendedAnimationID | Short description of SetBlendedAnimationID |
| SetBlendedAnimationKeyFrame | Short description of SetBlendedAnimationKeyFrame |
| SetBlendedAnimationLoop | Short description of SetBlendedAnimationLoop |
| SetBlendedAnimationWeight | Short description of SetBlendedAnimationWeight |
| SetBlendingMode | Short description of SetBlendingMode |
| SetBlendingModeEx | Short description of SetBlendingModeEx |
| SetBoneEnable | Short description of SetBoneEnable |
| SetBoneGlobalMatrix | Short description of SetBoneGlobalMatrix |
| SetBoneMatrix | Short description of SetBoneMatrix |
| SetBoneRotation | Short description of SetBoneRotation |
| SetBoneRotationMatrix | Short description of SetBoneRotationMatrix |
| SetBoneScale | Short description of SetBoneScale |
| SetBoneTranslation | Short description of SetBoneTranslation |
| SetClamping | Short description of SetClamping |
| SetCollisionEnable | Short description of SetCollisionEnable |
| SetColor | Short description of SetColor |
| SetCullMode | Short description of SetCullMode |
| SetCustomAnimation | Short description of SetCustomAnimation |
| SetCustomLights | Short description of SetCustomLights |
| SetGroupEnable | Short description of SetGroupEnable |
| SetGroupName | Short description of SetGroupName |
| SetGroupRenderOrder | Short description of SetGroupRenderOrder |
| SetIndex | Short description of SetIndex |
| SetKeyFrame | Short description of SetKeyFrame |
| SetLightingMode | Short description of SetLightingMode |
| SetMaterial | Sets a material to the actor on the model. |
| SetMatrix | Short description of SetMatrix |
| SetMaxUpdateFrequency | Short description of SetMaxUpdateFrequency |
| SetName | Sets the name of an actor. |
| SetOverlay | Short description of SetOverlay |
| SetParent | Short description of SetParent |
| SetParentEx | Short description of SetParentEx |
| SetPath | Short description of SetPath |
| SetPathSpeed | Short description of SetPathSpeed |
| SetPosition | Sets the actors position in the 3D world. |
| SetQuaternion | Short description of SetQuaternion |
| SetRotation | Sets the rotation of the actor, in either Radians or Degrees (depends on what system you set to use). |
| SetRotationMatrix | Short description of SetRotationMatrix |
| SetScale | Sets the actors scale in the 3d world relative to the original scale of the model (Percentage). |
| SetShader | Short description of SetShader |
| SetShaderEx | Short description of SetShaderEx |
| SetShadowCast | Short description of SetShadowCast |
| SetTag | Short description of SetTag |
| SetTangentParameters | Short description of SetTangentParameters |
| SetTexture | Short description of SetTexture |
| SetTextureEx | Short description of SetTextureEx |
| SetUserData | Short description of SetUserData |
| ShowBoundingBox | Short description of ShowBoundingBox |
| StopAnimation | Short description of StopAnimation |
| StopBlendedAnimation | Short description of StopBlendedAnimation |
| Update | Short description of Update |
| UpdateEx | Short description of UpdateEx |
| WeldVertices | Short description of WeldVertices |