C# Class datastructures.VisualData

A container for all visual data stored inside a node.
Mostra file Open project: denniskb/asvo_cuda

Public Properties

Property Type Description
boneIndex0 byte
boneIndex1 byte
boneIndex2 byte
boneIndex3 byte
boneWeights Vector4
normal Vector3
tangent Vector3
texCoords Vector2

Public Methods

Method Description
export ( BinaryWriter writer ) : void

Writes the contents of this struct to a binary stream using the provided BinaryWriter. Output-format: bytes: type/format: interpretation: =============================================== sizeof(Vector3) Vector3 normal sizeof(Vector3) Vector3 tangent sizeof(Vecotr2) Vector2 texture coordinates 1 uchar first bone index 1 uchar second bone index 1 uchar third bone index 1 uchar fourth bone index sizeof(Vector4) Vector4 bone weights See also Math3DHelper.export(Vector2,BinaryWriter), Math3DHelper.export(Vector3,BinaryWriter) and Math3DHelper.export(Vector4,BinaryWriter) for how the composed data types are being exported.

Method Details

export() public method

Writes the contents of this struct to a binary stream using the provided BinaryWriter. Output-format: bytes: type/format: interpretation: =============================================== sizeof(Vector3) Vector3 normal sizeof(Vector3) Vector3 tangent sizeof(Vecotr2) Vector2 texture coordinates 1 uchar first bone index 1 uchar second bone index 1 uchar third bone index 1 uchar fourth bone index sizeof(Vector4) Vector4 bone weights See also Math3DHelper.export(Vector2,BinaryWriter), Math3DHelper.export(Vector3,BinaryWriter) and Math3DHelper.export(Vector4,BinaryWriter) for how the composed data types are being exported.
public export ( BinaryWriter writer ) : void
writer BinaryWriter The BinaryWriter used to write to the stream.
return void

Property Details

boneIndex0 public_oe property

public byte boneIndex0
return byte

boneIndex1 public_oe property

public byte boneIndex1
return byte

boneIndex2 public_oe property

public byte boneIndex2
return byte

boneIndex3 public_oe property

public byte boneIndex3
return byte

boneWeights public_oe property

public Vector4 boneWeights
return Vector4

normal public_oe property

public Vector3 normal
return Vector3

tangent public_oe property

public Vector3 tangent
return Vector3

texCoords public_oe property

public Vector2 texCoords
return Vector2