Method | Description | |
---|---|---|
load ( string fileName ) : RenderBase.OModelGroup |
Method | Description | |
---|---|---|
align ( |
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 ( |
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 ( |
Reads a Vertex Descriptor from the mbn file.
|
public static load ( string fileName ) : RenderBase.OModelGroup | ||
fileName | string | |
return | RenderBase.OModelGroup |