C# 클래스 WhiteCore.Region.Animation.Animator

Handle all animation duties for a scene presence
상속: IAnimator
파일 보기 프로젝트 열기: WhiteCoreSim/WhiteCore-Dev 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
SLOWFLY_DELAY int
m_animations WhiteCore.Framework.ClientInterfaces.AnimationSet
m_movementAnimation string
m_scenePresence IScenePresence
m_useSplatAnimation bool

공개 메소드들

메소드 설명
AddAnimation ( string name, UUID objectID ) : bool
AddAnimation ( UUID animID, UUID objectID ) : void
Animator ( IScenePresence sp ) : System
Close ( ) : void

Close out and remove any current data

GetAnimationArray ( ) : UUID[]

Gets a list of the animations that are currently in use by this avatar

GetDefaultAnimationOverride ( string anim_state ) : string
GetMovementAnimation ( ) : string

This method determines the proper movement related animation

RemoveAnimation ( string name ) : bool

Remove the given animation from the list of current animations

RemoveAnimation ( UUID animID ) : void

Remove the given animation from the list of current animations

ResetAnimations ( ) : void

Clear out all animations

ResetDefaultAnimationOverride ( string anim_state ) : void
SendAnimPack ( ) : void

Send animation information about this avatar to all clients.

SendAnimPack ( UUID animations, int sequenceNums, UUID objectIDs ) : void

Sends all clients the given information for this avatar

SendAnimPackToClient ( IClientAPI client ) : void

Send an animation update to the given client

SetDefaultAnimationOverride ( string anim_state, UUID animID, string animation ) : void
TrySetMovementAnimation ( string anim ) : void

The movement animation is reserved for "main" animations that are mutually exclusive, e.g. flying and sitting.

TrySetMovementAnimation ( string anim, bool sendTerseUpdateIfNotSending ) : void

The movement animation is reserved for "main" animations that are mutually exclusive, e.g. flying and sitting.

UpdateMovementAnimations ( bool sendTerseUpdate ) : void

Update the movement animation of this avatar according to its current state

메소드 상세

AddAnimation() 공개 메소드

public AddAnimation ( string name, UUID objectID ) : bool
name string
objectID UUID
리턴 bool

AddAnimation() 공개 메소드

public AddAnimation ( UUID animID, UUID objectID ) : void
animID UUID
objectID UUID
리턴 void

Animator() 공개 메소드

public Animator ( IScenePresence sp ) : System
sp IScenePresence
리턴 System

Close() 공개 메소드

Close out and remove any current data
public Close ( ) : void
리턴 void

GetAnimationArray() 공개 메소드

Gets a list of the animations that are currently in use by this avatar
public GetAnimationArray ( ) : UUID[]
리턴 UUID[]

GetDefaultAnimationOverride() 공개 메소드

public GetDefaultAnimationOverride ( string anim_state ) : string
anim_state string
리턴 string

GetMovementAnimation() 공개 메소드

This method determines the proper movement related animation
public GetMovementAnimation ( ) : string
리턴 string

RemoveAnimation() 공개 메소드

Remove the given animation from the list of current animations
public RemoveAnimation ( string name ) : bool
name string
리턴 bool

RemoveAnimation() 공개 메소드

Remove the given animation from the list of current animations
public RemoveAnimation ( UUID animID ) : void
animID UUID
리턴 void

ResetAnimations() 공개 메소드

Clear out all animations
public ResetAnimations ( ) : void
리턴 void

ResetDefaultAnimationOverride() 공개 메소드

public ResetDefaultAnimationOverride ( string anim_state ) : void
anim_state string
리턴 void

SendAnimPack() 공개 메소드

Send animation information about this avatar to all clients.
public SendAnimPack ( ) : void
리턴 void

SendAnimPack() 공개 메소드

Sends all clients the given information for this avatar
public SendAnimPack ( UUID animations, int sequenceNums, UUID objectIDs ) : void
animations UUID
sequenceNums int
objectIDs UUID
리턴 void

SendAnimPackToClient() 공개 메소드

Send an animation update to the given client
public SendAnimPackToClient ( IClientAPI client ) : void
client IClientAPI
리턴 void

SetDefaultAnimationOverride() 공개 메소드

public SetDefaultAnimationOverride ( string anim_state, UUID animID, string animation ) : void
anim_state string
animID UUID
animation string
리턴 void

TrySetMovementAnimation() 공개 메소드

The movement animation is reserved for "main" animations that are mutually exclusive, e.g. flying and sitting.
public TrySetMovementAnimation ( string anim ) : void
anim string
리턴 void

TrySetMovementAnimation() 공개 메소드

The movement animation is reserved for "main" animations that are mutually exclusive, e.g. flying and sitting.
public TrySetMovementAnimation ( string anim, bool sendTerseUpdateIfNotSending ) : void
anim string
sendTerseUpdateIfNotSending bool
리턴 void

UpdateMovementAnimations() 공개 메소드

Update the movement animation of this avatar according to its current state
public UpdateMovementAnimations ( bool sendTerseUpdate ) : void
sendTerseUpdate bool
리턴 void

프로퍼티 상세

SLOWFLY_DELAY 보호되어 있는 프로퍼티

protected int SLOWFLY_DELAY
리턴 int

m_animations 보호되어 있는 프로퍼티

protected AnimationSet,WhiteCore.Framework.ClientInterfaces m_animations
리턴 WhiteCore.Framework.ClientInterfaces.AnimationSet

m_movementAnimation 보호되어 있는 프로퍼티

protected string m_movementAnimation
리턴 string

m_scenePresence 보호되어 있는 프로퍼티

protected IScenePresence m_scenePresence
리턴 IScenePresence

m_useSplatAnimation 보호되어 있는 프로퍼티

protected bool m_useSplatAnimation
리턴 bool