C# Class Axiom.Serialization.OgreSkeletonSerializer

Summary description for OgreSkeletonSerializer.
Inheritance: Serializer
ファイルを表示 Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method Description
ExportSkeleton ( Skeleton skeleton, string fileName ) : void
ImportSkeleton ( Stream stream, Skeleton skeleton ) : void
OgreSkeletonSerializer ( ) : System

Protected Methods

Method Description
ReadAnimation ( BinaryReader reader ) : void

Reads animation information from the file.

ReadAnimationTrack ( BinaryReader reader, Animation anim ) : void

Reads an animation track.

ReadAttachmentPoint ( BinaryReader reader ) : void

Reads bone information from the file.

ReadBone ( BinaryReader reader ) : void

Reads bone information from the file.

ReadBoneParent ( BinaryReader reader ) : void

Reads bone information from the file.

ReadChunk ( BinaryReader reader ) : SkeletonChunkID
ReadKeyFrame ( BinaryReader reader, NodeAnimationTrack track ) : void

Reads an animation track section.

WriteAnimation ( BinaryWriter writer, Animation anim ) : void
WriteAnimationTrack ( BinaryWriter writer, NodeAnimationTrack track ) : void
WriteAttachmentPoint ( BinaryWriter writer, AttachmentPoint ap, Bone bone ) : void
WriteBone ( BinaryWriter writer, Bone bone ) : void
WriteBoneParent ( BinaryWriter writer, Bone bone, Bone parent ) : void
WriteKeyFrame ( BinaryWriter writer, TransformKeyFrame keyFrame ) : void
WriteSkeleton ( BinaryWriter writer ) : void

Method Details

ExportSkeleton() public method

public ExportSkeleton ( Skeleton skeleton, string fileName ) : void
skeleton Axiom.Animating.Skeleton
fileName string
return void

ImportSkeleton() public method

public ImportSkeleton ( Stream stream, Skeleton skeleton ) : void
stream Stream
skeleton Axiom.Animating.Skeleton
return void

OgreSkeletonSerializer() public method

public OgreSkeletonSerializer ( ) : System
return System

ReadAnimation() protected method

Reads animation information from the file.
protected ReadAnimation ( BinaryReader reader ) : void
reader System.IO.BinaryReader
return void

ReadAnimationTrack() protected method

Reads an animation track.
protected ReadAnimationTrack ( BinaryReader reader, Animation anim ) : void
reader BinaryReader
anim Animation
return void

ReadAttachmentPoint() protected method

Reads bone information from the file.
protected ReadAttachmentPoint ( BinaryReader reader ) : void
reader BinaryReader
return void

ReadBone() protected method

Reads bone information from the file.
protected ReadBone ( BinaryReader reader ) : void
reader BinaryReader
return void

ReadBoneParent() protected method

Reads bone information from the file.
protected ReadBoneParent ( BinaryReader reader ) : void
reader BinaryReader
return void

ReadChunk() protected method

protected ReadChunk ( BinaryReader reader ) : SkeletonChunkID
reader BinaryReader
return SkeletonChunkID

ReadKeyFrame() protected method

Reads an animation track section.
protected ReadKeyFrame ( BinaryReader reader, NodeAnimationTrack track ) : void
reader BinaryReader
track NodeAnimationTrack
return void

WriteAnimation() protected method

protected WriteAnimation ( BinaryWriter writer, Animation anim ) : void
writer BinaryWriter
anim Animation
return void

WriteAnimationTrack() protected method

protected WriteAnimationTrack ( BinaryWriter writer, NodeAnimationTrack track ) : void
writer BinaryWriter
track NodeAnimationTrack
return void

WriteAttachmentPoint() protected method

protected WriteAttachmentPoint ( BinaryWriter writer, AttachmentPoint ap, Bone bone ) : void
writer BinaryWriter
ap AttachmentPoint
bone Bone
return void

WriteBone() protected method

protected WriteBone ( BinaryWriter writer, Bone bone ) : void
writer BinaryWriter
bone Bone
return void

WriteBoneParent() protected method

protected WriteBoneParent ( BinaryWriter writer, Bone bone, Bone parent ) : void
writer BinaryWriter
bone Bone
parent Bone
return void

WriteKeyFrame() protected method

protected WriteKeyFrame ( BinaryWriter writer, TransformKeyFrame keyFrame ) : void
writer BinaryWriter
keyFrame TransformKeyFrame
return void

WriteSkeleton() protected method

protected WriteSkeleton ( BinaryWriter writer ) : void
writer BinaryWriter
return void