Legendary Explorer Core Nightly
Core library for working with Mass Effect Trilogy / Legendary Edition files
Loading...
Searching...
No Matches
AnimPlayer Class Referenceabstract
Inheritance diagram for AnimPlayer:
FaceFxPlayer

Public Member Functions

string[] GetBoneNames ()
 
abstract void SetCurrentTime (float time)
 
abstract Matrix4x4[] ComputeSkinningMatrices ()
 
void AdvanceTime (float dt)
 

Protected Member Functions

 AnimPlayer (SkeletalMesh skeletalMesh)
 

Protected Attributes

readonly MeshBone[] _bones
 
Matrix4x4[] _inverseBindPose
 
Matrix4x4[] _skinningMatrices
 
Matrix4x4[] _boneComponentSpace
 

Properties

Matrix4x4[] BoneComponentSpaceTransforms [get]
 
float CurrentTime [get, set]
 
bool IsPlaying [get, set]
 
bool IsLooping = true [get, set]
 
float PlaybackSpeed = 1f [get, set]
 
abstract bool HasAnimation [get]
 
abstract float Duration [get]
 
abstract float StartTime [get]
 
abstract float EndTime [get]
 

Constructor & Destructor Documentation

◆ AnimPlayer()

AnimPlayer.AnimPlayer ( SkeletalMesh  skeletalMesh)
inlineprotected

Member Function Documentation

◆ GetBoneNames()

string[] AnimPlayer.GetBoneNames ( )

◆ SetCurrentTime()

abstract void AnimPlayer.SetCurrentTime ( float  time)
pure virtual

Implemented in FaceFxPlayer.

◆ ComputeSkinningMatrices()

abstract Matrix4x4[] AnimPlayer.ComputeSkinningMatrices ( )
pure virtual

Implemented in FaceFxPlayer.

◆ AdvanceTime()

void AnimPlayer.AdvanceTime ( float  dt)
inline

Member Data Documentation

◆ _bones

readonly MeshBone [] AnimPlayer._bones
protected

◆ _inverseBindPose

Matrix4x4 [] AnimPlayer._inverseBindPose
protected

◆ _skinningMatrices

Matrix4x4 [] AnimPlayer._skinningMatrices
protected

◆ _boneComponentSpace

Matrix4x4 [] AnimPlayer._boneComponentSpace
protected

Property Documentation

◆ BoneComponentSpaceTransforms

Matrix4x4 [] AnimPlayer.BoneComponentSpaceTransforms
get

◆ CurrentTime

float AnimPlayer.CurrentTime
getset

◆ IsPlaying

bool AnimPlayer.IsPlaying
getset

◆ IsLooping

bool AnimPlayer.IsLooping = true
getset

◆ PlaybackSpeed

float AnimPlayer.PlaybackSpeed = 1f
getset

◆ HasAnimation

abstract bool AnimPlayer.HasAnimation
get

◆ Duration

abstract float AnimPlayer.Duration
get

◆ StartTime

abstract float AnimPlayer.StartTime
get

◆ EndTime

abstract float AnimPlayer.EndTime
get

The documentation for this class was generated from the following file: