C# 클래스 Axiom.Serialization.MeshSerializerImpl

Summary description for MeshSerializerImpl.
상속: Serializer
파일 보기 프로젝트 열기: WolfgangSt/axiom

보호된 프로퍼티들

프로퍼티 타입 설명
isSkeletallyAnimated bool
mesh Axiom.Core.Mesh

공개 메소드들

메소드 설명
ExportMesh ( Axiom.Core.Mesh mesh, string fileName ) : void

Exports a mesh to the file specified.

This method takes an externally created Mesh object, and exports both it to a .mesh file.

GetDependencyInfo ( Stream stream, Axiom.Core.Mesh mesh ) : DependencyInfo

Multiverse Extension

ImportMesh ( Stream stream, Axiom.Core.Mesh mesh ) : void

Imports mesh data from a .mesh file.

MeshSerializerImpl ( ) : System

Default constructor.

보호된 메소드들

메소드 설명
ReadAnimation ( BinaryReader reader ) : void
ReadAnimationTrack ( BinaryReader reader, Animation anim ) : void
ReadAnimations ( BinaryReader reader ) : void
ReadAttachmentPoint ( BinaryReader reader ) : void

Reads attachment point information from the file.

ReadBoundsInfo ( BinaryReader reader ) : void
ReadChunk ( BinaryReader reader ) : MeshChunkID
ReadDependencyInfo ( BinaryReader reader, DependencyInfo depends ) : void

Multiuverse Extension

ReadEdgeList ( BinaryReader reader ) : void
ReadGeometry ( BinaryReader reader, VertexData data ) : void
ReadGeometryVertexBuffer ( BinaryReader reader, VertexData data ) : void
ReadGeometryVertexDeclaration ( BinaryReader reader, VertexData data ) : void
ReadGeometryVertexElement ( BinaryReader reader, VertexData data ) : void
ReadMaterialDependency ( BinaryReader reader, DependencyInfo depends ) : void
ReadMesh ( BinaryReader reader ) : void
ReadMeshBoneAssignment ( BinaryReader reader ) : void
ReadMeshDependency ( BinaryReader reader, DependencyInfo depends ) : void
ReadMeshLodInfo ( BinaryReader reader ) : void
ReadMeshLodUsageGenerated ( BinaryReader reader, int lodNum, Axiom.Core.MeshLodUsage &usage ) : void
ReadMeshLodUsageManual ( BinaryReader reader, int lodNum, Axiom.Core.MeshLodUsage &usage ) : void
ReadMorphKeyframe ( BinaryReader reader, VertexAnimationTrack track ) : void
ReadPoseKeyframe ( BinaryReader reader, VertexAnimationTrack track ) : void
ReadPoses ( BinaryReader reader ) : void
ReadSkeletonDependency ( BinaryReader reader, DependencyInfo depends ) : void
ReadSkeletonLink ( BinaryReader reader ) : void
ReadSubMesh ( BinaryReader reader ) : void
ReadSubMeshBoneAssignment ( BinaryReader reader, SubMesh sub ) : void
ReadSubMeshNameTable ( BinaryReader reader ) : void
ReadSubMeshOperation ( BinaryReader reader, SubMesh sub ) : void
WriteAnimation ( BinaryWriter writer, Animation anim ) : void
WriteAnimationPoseRef ( BinaryWriter writer, PoseRef poseRef ) : void
WriteAnimationTrack ( BinaryWriter writer, VertexAnimationTrack track ) : void
WriteAnimations ( BinaryWriter writer ) : void
WriteAttachmentPoint ( BinaryWriter writer, AttachmentPoint ap ) : void
WriteGeometry ( BinaryWriter writer, VertexData vertexData ) : void
WriteGeometryVertexBuffer ( BinaryWriter writer, short bindIndex, HardwareVertexBuffer vertexBuffer ) : void
WriteGeometryVertexBufferData ( BinaryWriter writer, int count, IntPtr buf ) : void
WriteGeometryVertexDeclaration ( BinaryWriter writer, Axiom.Graphics.VertexDeclaration vertexDeclaration ) : void
WriteGeometryVertexElement ( BinaryWriter writer, VertexElement vertexElement ) : void
WriteMesh ( BinaryWriter writer ) : void
WriteMeshBoneAssignment ( BinaryWriter writer, VertexBoneAssignment vba ) : void
WriteMeshBounds ( BinaryWriter writer ) : void
WriteMeshLodGenerated ( BinaryWriter writer, SubMesh subMesh, int usageIndex ) : void
WriteMeshLodInfo ( BinaryWriter writer ) : void
WriteMeshLodManual ( BinaryWriter writer, Axiom.Core.MeshLodUsage usage ) : void
WriteMeshLodSummary ( BinaryWriter writer ) : void
WriteMeshLodUsage ( BinaryWriter writer, Axiom.Core.MeshLodUsage usage, int usageIndex ) : void
WriteMorphKeyframe ( BinaryWriter writer, VertexMorphKeyFrame keyFrame ) : void
WritePose ( BinaryWriter writer, Pose pose ) : void
WritePoseKeyframe ( BinaryWriter writer, VertexPoseKeyFrame keyFrame ) : void
WritePoseVertex ( BinaryWriter writer, int vertexId, Vector3 offset ) : void
WritePoses ( BinaryWriter writer ) : void
WriteSkeletonLink ( BinaryWriter writer ) : void
WriteSubMesh ( BinaryWriter writer, SubMesh subMesh ) : void
WriteSubMeshBoneAssignment ( BinaryWriter writer, VertexBoneAssignment vba ) : void
WriteSubMeshNameTable ( BinaryWriter writer ) : void
WriteSubMeshNameTableElement ( BinaryWriter writer, short i, string name ) : void
WriteSubMeshOperation ( BinaryWriter writer, SubMesh subMesh ) : void

메소드 상세

ExportMesh() 공개 메소드

Exports a mesh to the file specified.
This method takes an externally created Mesh object, and exports both it to a .mesh file.
public ExportMesh ( Axiom.Core.Mesh mesh, string fileName ) : void
mesh Axiom.Core.Mesh Reference to the mesh to export.
fileName string The destination file name.
리턴 void

GetDependencyInfo() 공개 메소드

Multiverse Extension
public GetDependencyInfo ( Stream stream, Axiom.Core.Mesh mesh ) : DependencyInfo
stream Stream
mesh Axiom.Core.Mesh
리턴 DependencyInfo

ImportMesh() 공개 메소드

Imports mesh data from a .mesh file.
public ImportMesh ( Stream stream, Axiom.Core.Mesh mesh ) : void
stream Stream A stream containing the .mesh data.
mesh Axiom.Core.Mesh Mesh to populate with the data.
리턴 void

MeshSerializerImpl() 공개 메소드

Default constructor.
public MeshSerializerImpl ( ) : System
리턴 System

ReadAnimation() 보호된 메소드

protected ReadAnimation ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

ReadAnimationTrack() 보호된 메소드

protected ReadAnimationTrack ( BinaryReader reader, Animation anim ) : void
reader System.IO.BinaryReader
anim Axiom.Animating.Animation
리턴 void

ReadAnimations() 보호된 메소드

protected ReadAnimations ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

ReadAttachmentPoint() 보호된 메소드

Reads attachment point information from the file.
protected ReadAttachmentPoint ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

ReadBoundsInfo() 보호된 메소드

protected ReadBoundsInfo ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

ReadChunk() 보호된 메소드

protected ReadChunk ( BinaryReader reader ) : MeshChunkID
reader System.IO.BinaryReader
리턴 MeshChunkID

ReadDependencyInfo() 보호된 메소드

Multiuverse Extension
protected ReadDependencyInfo ( BinaryReader reader, DependencyInfo depends ) : void
reader System.IO.BinaryReader
depends DependencyInfo
리턴 void

ReadEdgeList() 보호된 메소드

protected ReadEdgeList ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

ReadGeometry() 보호된 메소드

protected ReadGeometry ( BinaryReader reader, VertexData data ) : void
reader System.IO.BinaryReader
data Axiom.Graphics.VertexData
리턴 void

ReadGeometryVertexBuffer() 보호된 메소드

protected ReadGeometryVertexBuffer ( BinaryReader reader, VertexData data ) : void
reader System.IO.BinaryReader
data Axiom.Graphics.VertexData
리턴 void

ReadGeometryVertexDeclaration() 보호된 메소드

protected ReadGeometryVertexDeclaration ( BinaryReader reader, VertexData data ) : void
reader System.IO.BinaryReader
data Axiom.Graphics.VertexData
리턴 void

ReadGeometryVertexElement() 보호된 메소드

protected ReadGeometryVertexElement ( BinaryReader reader, VertexData data ) : void
reader System.IO.BinaryReader
data Axiom.Graphics.VertexData
리턴 void

ReadMaterialDependency() 보호된 메소드

protected ReadMaterialDependency ( BinaryReader reader, DependencyInfo depends ) : void
reader System.IO.BinaryReader
depends DependencyInfo
리턴 void

ReadMesh() 보호된 메소드

protected ReadMesh ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

ReadMeshBoneAssignment() 보호된 메소드

protected ReadMeshBoneAssignment ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

ReadMeshDependency() 보호된 메소드

protected ReadMeshDependency ( BinaryReader reader, DependencyInfo depends ) : void
reader System.IO.BinaryReader
depends DependencyInfo
리턴 void

ReadMeshLodInfo() 보호된 메소드

protected ReadMeshLodInfo ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

ReadMeshLodUsageGenerated() 보호된 메소드

protected ReadMeshLodUsageGenerated ( BinaryReader reader, int lodNum, Axiom.Core.MeshLodUsage &usage ) : void
reader System.IO.BinaryReader
lodNum int
usage Axiom.Core.MeshLodUsage
리턴 void

ReadMeshLodUsageManual() 보호된 메소드

protected ReadMeshLodUsageManual ( BinaryReader reader, int lodNum, Axiom.Core.MeshLodUsage &usage ) : void
reader System.IO.BinaryReader
lodNum int
usage Axiom.Core.MeshLodUsage
리턴 void

ReadMorphKeyframe() 보호된 메소드

protected ReadMorphKeyframe ( BinaryReader reader, VertexAnimationTrack track ) : void
reader System.IO.BinaryReader
track Axiom.Animating.VertexAnimationTrack
리턴 void

ReadPoseKeyframe() 보호된 메소드

protected ReadPoseKeyframe ( BinaryReader reader, VertexAnimationTrack track ) : void
reader System.IO.BinaryReader
track Axiom.Animating.VertexAnimationTrack
리턴 void

ReadPoses() 보호된 메소드

protected ReadPoses ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

ReadSkeletonDependency() 보호된 메소드

protected ReadSkeletonDependency ( BinaryReader reader, DependencyInfo depends ) : void
reader System.IO.BinaryReader
depends DependencyInfo
리턴 void

ReadSkeletonLink() 보호된 메소드

protected ReadSkeletonLink ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

ReadSubMesh() 보호된 메소드

protected ReadSubMesh ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

ReadSubMeshBoneAssignment() 보호된 메소드

protected ReadSubMeshBoneAssignment ( BinaryReader reader, SubMesh sub ) : void
reader System.IO.BinaryReader
sub Axiom.Core.SubMesh
리턴 void

ReadSubMeshNameTable() 보호된 메소드

protected ReadSubMeshNameTable ( BinaryReader reader ) : void
reader System.IO.BinaryReader
리턴 void

ReadSubMeshOperation() 보호된 메소드

protected ReadSubMeshOperation ( BinaryReader reader, SubMesh sub ) : void
reader System.IO.BinaryReader
sub Axiom.Core.SubMesh
리턴 void

WriteAnimation() 보호된 메소드

protected WriteAnimation ( BinaryWriter writer, Animation anim ) : void
writer System.IO.BinaryWriter
anim Axiom.Animating.Animation
리턴 void

WriteAnimationPoseRef() 보호된 메소드

protected WriteAnimationPoseRef ( BinaryWriter writer, PoseRef poseRef ) : void
writer System.IO.BinaryWriter
poseRef Axiom.Animating.PoseRef
리턴 void

WriteAnimationTrack() 보호된 메소드

protected WriteAnimationTrack ( BinaryWriter writer, VertexAnimationTrack track ) : void
writer System.IO.BinaryWriter
track Axiom.Animating.VertexAnimationTrack
리턴 void

WriteAnimations() 보호된 메소드

protected WriteAnimations ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
리턴 void

WriteAttachmentPoint() 보호된 메소드

protected WriteAttachmentPoint ( BinaryWriter writer, AttachmentPoint ap ) : void
writer System.IO.BinaryWriter
ap Axiom.Animating.AttachmentPoint
리턴 void

WriteGeometry() 보호된 메소드

protected WriteGeometry ( BinaryWriter writer, VertexData vertexData ) : void
writer System.IO.BinaryWriter
vertexData Axiom.Graphics.VertexData
리턴 void

WriteGeometryVertexBuffer() 보호된 메소드

protected WriteGeometryVertexBuffer ( BinaryWriter writer, short bindIndex, HardwareVertexBuffer vertexBuffer ) : void
writer System.IO.BinaryWriter
bindIndex short
vertexBuffer Axiom.Graphics.HardwareVertexBuffer
리턴 void

WriteGeometryVertexBufferData() 보호된 메소드

protected WriteGeometryVertexBufferData ( BinaryWriter writer, int count, IntPtr buf ) : void
writer System.IO.BinaryWriter
count int
buf System.IntPtr
리턴 void

WriteGeometryVertexDeclaration() 보호된 메소드

protected WriteGeometryVertexDeclaration ( BinaryWriter writer, Axiom.Graphics.VertexDeclaration vertexDeclaration ) : void
writer System.IO.BinaryWriter
vertexDeclaration Axiom.Graphics.VertexDeclaration
리턴 void

WriteGeometryVertexElement() 보호된 메소드

protected WriteGeometryVertexElement ( BinaryWriter writer, VertexElement vertexElement ) : void
writer System.IO.BinaryWriter
vertexElement Axiom.Graphics.VertexElement
리턴 void

WriteMesh() 보호된 메소드

protected WriteMesh ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
리턴 void

WriteMeshBoneAssignment() 보호된 메소드

protected WriteMeshBoneAssignment ( BinaryWriter writer, VertexBoneAssignment vba ) : void
writer System.IO.BinaryWriter
vba VertexBoneAssignment
리턴 void

WriteMeshBounds() 보호된 메소드

protected WriteMeshBounds ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
리턴 void

WriteMeshLodGenerated() 보호된 메소드

protected WriteMeshLodGenerated ( BinaryWriter writer, SubMesh subMesh, int usageIndex ) : void
writer System.IO.BinaryWriter
subMesh Axiom.Core.SubMesh
usageIndex int
리턴 void

WriteMeshLodInfo() 보호된 메소드

protected WriteMeshLodInfo ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
리턴 void

WriteMeshLodManual() 보호된 메소드

protected WriteMeshLodManual ( BinaryWriter writer, Axiom.Core.MeshLodUsage usage ) : void
writer System.IO.BinaryWriter
usage Axiom.Core.MeshLodUsage
리턴 void

WriteMeshLodSummary() 보호된 메소드

protected WriteMeshLodSummary ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
리턴 void

WriteMeshLodUsage() 보호된 메소드

protected WriteMeshLodUsage ( BinaryWriter writer, Axiom.Core.MeshLodUsage usage, int usageIndex ) : void
writer System.IO.BinaryWriter
usage Axiom.Core.MeshLodUsage
usageIndex int
리턴 void

WriteMorphKeyframe() 보호된 메소드

protected WriteMorphKeyframe ( BinaryWriter writer, VertexMorphKeyFrame keyFrame ) : void
writer System.IO.BinaryWriter
keyFrame Axiom.Animating.VertexMorphKeyFrame
리턴 void

WritePose() 보호된 메소드

protected WritePose ( BinaryWriter writer, Pose pose ) : void
writer System.IO.BinaryWriter
pose Axiom.Animating.Pose
리턴 void

WritePoseKeyframe() 보호된 메소드

protected WritePoseKeyframe ( BinaryWriter writer, VertexPoseKeyFrame keyFrame ) : void
writer System.IO.BinaryWriter
keyFrame Axiom.Animating.VertexPoseKeyFrame
리턴 void

WritePoseVertex() 보호된 메소드

protected WritePoseVertex ( BinaryWriter writer, int vertexId, Vector3 offset ) : void
writer System.IO.BinaryWriter
vertexId int
offset Vector3
리턴 void

WritePoses() 보호된 메소드

protected WritePoses ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
리턴 void

WriteSkeletonLink() 보호된 메소드

protected WriteSkeletonLink ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
리턴 void

WriteSubMesh() 보호된 메소드

protected WriteSubMesh ( BinaryWriter writer, SubMesh subMesh ) : void
writer System.IO.BinaryWriter
subMesh Axiom.Core.SubMesh
리턴 void

WriteSubMeshBoneAssignment() 보호된 메소드

protected WriteSubMeshBoneAssignment ( BinaryWriter writer, VertexBoneAssignment vba ) : void
writer System.IO.BinaryWriter
vba VertexBoneAssignment
리턴 void

WriteSubMeshNameTable() 보호된 메소드

protected WriteSubMeshNameTable ( BinaryWriter writer ) : void
writer System.IO.BinaryWriter
리턴 void

WriteSubMeshNameTableElement() 보호된 메소드

protected WriteSubMeshNameTableElement ( BinaryWriter writer, short i, string name ) : void
writer System.IO.BinaryWriter
i short
name string
리턴 void

WriteSubMeshOperation() 보호된 메소드

protected WriteSubMeshOperation ( BinaryWriter writer, SubMesh subMesh ) : void
writer System.IO.BinaryWriter
subMesh Axiom.Core.SubMesh
리턴 void

프로퍼티 상세

isSkeletallyAnimated 보호되어 있는 프로퍼티

Is this mesh animated with a skeleton?
protected bool isSkeletallyAnimated
리턴 bool

mesh 보호되어 있는 프로퍼티

Target mesh for importing/exporting.
protected Mesh,Axiom.Core mesh
리턴 Axiom.Core.Mesh