C# 클래스 Ohana3DS_Transfigured.Ohana.Models.MBN

파일 보기 프로젝트 열기: Quibilia/Ohana3DS-Transfigured

공개 메소드들

메소드 설명
load ( string fileName ) : RenderBase.OModelGroup

비공개 메소드들

메소드 설명
align ( BinaryReader input ) : void

Aligns the reader to skip the 0xffff padding that .mbn files uses on the stream section. It will align to the nearest 32 bytes boundary.

alignWord ( BinaryReader input ) : void

Aligns the reader to skip the 0xffff padding that .mbn files uses on the stream section. It will align to the nearest 32-bits Word.

getVector2 ( byte buffer, int pos, vtxAttributeQuantization q, float scale ) : RenderBase.OVector2

Reads a quantized Vector2 from the Vertex Stream. It is usually used to store Texture Coordinates.

getVector3 ( byte buffer, int pos, vtxAttributeQuantization q, float scale ) : RenderBase.OVector3

Reads a quantized Vector3 from the Vertex Stream. It is usually used to store Geometry Position and Normal.

getVector4 ( byte buffer, int pos, vtxAttributeQuantization q, float scale ) : RenderBase.OVector4

Reads a quantized Vector4 from the Vertex Stream. It is usually used to store Vertex Color.

getVtxDescriptor ( BinaryReader input ) : vtxEntry

Reads a Vertex Descriptor from the mbn file.

메소드 상세

load() 공개 정적인 메소드

public static load ( string fileName ) : RenderBase.OModelGroup
fileName string
리턴 RenderBase.OModelGroup