class SceneModel : SceneObject

robot_2Generated
code_blocksInput

Description

A model scene object that supports animations and can be rendered within a SceneWorld.

Members

Instance Members

Member NameSummary
SetBoneOverrideSets a bone override with a specified transform.
ClearBoneOverridesClears all bone overrides.
SetAnimGraphSets the animation graph. Obsolete: Can use AnimationGraph directly.
SetBoneWorldTransformSets the world transform of a bone.
GetBoneWorldTransformGets the world transform of a bone by index or name.
GetBoneLocalTransformGets the local transform of a bone by index or name.
SetMaterialGroupSets the material group by name.
SetBodyGroupSets the body group by name and value.
GetAttachmentGets an attachment transform by name, optionally in world space.
RunPendingEventsRuns any pending events.
DispatchTagEventsDispatches tag events.
SetAnimParameterSets an animation parameter by name and value.
ResetAnimParametersReset all animgraph parameters to their default values.
GetRotationGets a rotation parameter by name.
GetVector3Gets a Vector3 parameter by name.
GetBoolGets a boolean parameter by name.
GetFloatGets a float parameter by name.
GetIntGets an integer parameter by name.
UpdateUpdates the scene model with a delta time.
UpdateToBindPoseUpdate all of the bones to the bind pose.
MergeBonesMerges bones with a parent scene model.
AnimationGraphGets or sets the animation graph.
PlaybackRateGets or sets the playback rate of the animation.
UseAnimGraphAllows the scene model to not use the anim graph so it can play sequences directly.
RootMotionGet the calculated motion from animgraph since last frame.
CurrentSequenceAllows playback of sequences directly, rather than using an animation graph.
MorphsAccess this sceneobject's morph collection.
DirectPlaybackAccess this sceneobject's direct playback.
OnFootstepEventCalled when a footstep event happens.
OnGenericEventCalled when a generic event happens.
OnSoundEventCalled when a sound event happens.
OnAnimTagEventCalled when an anim tag event happens.