C# 클래스 OpenMetaverse.BinBVHAnimationReader

Reads in a byte array of an Animation Asset created by the SecondLife(tm) client.
파일 보기 프로젝트 열기: openmetaversefoundation/libopenmetaverse-oldsvnconvert 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
EaseInTime System.Single
EaseOutTime System.Single
ExpressionName string
HandPose uint
InPoint System.Single
JointCount uint
Length System.Single
Loop bool
OutPoint System.Single
Priority int
joints OpenMetaverse.binBVHJoint[]
unknown0 System.UInt16
unknown1 System.UInt16

공개 메소드들

메소드 설명
BinBVHAnimationReader ( byte animationdata ) : System

Searialize an animation asset into it's joints/keyframes/meta data

ReadBytesUntilNull ( byte data, int &i ) : string

Variable length strings seem to be null terminated in the animation asset.. but.. use with caution, home grown. advances the index.

readJoint ( byte data, int &i ) : binBVHJoint

Read in a Joint from an animation asset byte array Variable length Joint fields, yay! Advances the index

readKeys ( byte data, int &i, int keycount, float min, float max ) : OpenMetaverse.binBVHJointKey[]

Read Keyframes of a certain type advance i

비공개 메소드들

메소드 설명
EndianSwap ( byte arr, int offset, int len ) : byte[]

메소드 상세

BinBVHAnimationReader() 공개 메소드

Searialize an animation asset into it's joints/keyframes/meta data
public BinBVHAnimationReader ( byte animationdata ) : System
animationdata byte
리턴 System

ReadBytesUntilNull() 공개 메소드

Variable length strings seem to be null terminated in the animation asset.. but.. use with caution, home grown. advances the index.
public ReadBytesUntilNull ( byte data, int &i ) : string
data byte The animation asset byte array
i int The offset to start reading
리턴 string

readJoint() 공개 메소드

Read in a Joint from an animation asset byte array Variable length Joint fields, yay! Advances the index
public readJoint ( byte data, int &i ) : binBVHJoint
data byte animation asset byte array
i int Byte Offset of the start of the joint
리턴 binBVHJoint

readKeys() 공개 메소드

Read Keyframes of a certain type advance i
public readKeys ( byte data, int &i, int keycount, float min, float max ) : OpenMetaverse.binBVHJointKey[]
data byte Animation Byte array
i int Offset in the Byte Array. Will be advanced
keycount int Number of Keyframes
min float Scaling Min to pass to the Uint16ToFloat method
max float Scaling Max to pass to the Uint16ToFloat method
리턴 OpenMetaverse.binBVHJointKey[]

프로퍼티 상세

EaseInTime 공개적으로 프로퍼티

Meta data. Ease in Seconds.
public Single,System EaseInTime
리턴 System.Single

EaseOutTime 공개적으로 프로퍼티

Meta data. Ease out seconds.
public Single,System EaseOutTime
리턴 System.Single

ExpressionName 공개적으로 프로퍼티

Expression set in the client. Null if [None] is selected
public string ExpressionName
리턴 string

HandPose 공개적으로 프로퍼티

Meta Data for the Hand Pose
public uint HandPose
리턴 uint

InPoint 공개적으로 프로퍼티

The time in seconds to start the animation
public Single,System InPoint
리턴 System.Single

JointCount 공개적으로 프로퍼티

Number of joints defined in the animation
public uint JointCount
리턴 uint

Length 공개적으로 프로퍼티

The animation length in seconds.
public Single,System Length
리턴 System.Single

Loop 공개적으로 프로퍼티

Loop the animation
public bool Loop
리턴 bool

OutPoint 공개적으로 프로퍼티

The time in seconds to end the animation
public Single,System OutPoint
리턴 System.Single

Priority 공개적으로 프로퍼티

Animation Priority
public int Priority
리턴 int

joints 공개적으로 프로퍼티

Contains an array of joints
public binBVHJoint[],OpenMetaverse joints
리턴 OpenMetaverse.binBVHJoint[]

unknown0 공개적으로 프로퍼티

public UInt16,System unknown0
리턴 System.UInt16

unknown1 공개적으로 프로퍼티

public UInt16,System unknown1
리턴 System.UInt16