Summary

A model scene object that supports animations and can be rendered within a <see cref="T:Sandbox.SceneWorld" />.

Properties

AnimationGraph
CurrentSequence Allows playback of sequences directly, rather than using an animation graph. Requires Sandbox.SceneModel.UseAnimGraph disabled if the scene model has one.
DirectPlayback Access this sceneobject's direct playback. Direct playback is used to control the direct playback node in an animgraph to play sequences directly in code
Morphs Access this sceneobject's morph collection. Morphs are generally used in the model to control the face, for things like emotions and lip sync.
OnAnimTagEvent Called when a anim tag event happens
OnFootstepEvent Called when a footstep event happens
OnGenericEvent Called when a generic event happens
OnSoundEvent Called when a sound event happens
PlaybackRate
RootMotion Get the calculated motion from animgraph since last frame
UseAnimGraph Allows the scene model to not use the anim graph so it can play sequences directly

Methods

ClearBoneOverrides
DispatchTagEvents
GetAttachment
GetBoneLocalTransform
GetBoneWorldTransform
GetBool
GetFloat
GetInt
GetRotation
GetVector3
MergeBones
ResetAnimParameters Reset all animgraph parameters to their default values.
RunPendingEvents
SetAnimGraph
SetAnimParameter
SetBodyGroup
SetBoneOverride
SetBoneWorldTransform
SetMaterialGroup
Update
UpdateToBindPose Update all of the bones to the bind pose
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.