C# Class XLibrary.VertexPositionColor

Mostrar archivo Open project: swax/CodePerspective Class Usage Examples

Public Properties

Property Type Description
Color uint
Normal Vector3
Position Vector3

Public Methods

Method Description
Set ( Vector3 pos, Color color ) : void
Set ( Vector3 pos, Color color, Vector3 normal ) : void
Set ( float x, float y, float z, Color color ) : void
Set ( float x, float y, float z, Color color, float nX, float nY, float nZ ) : void

Private Methods

Method Description
ToRgba ( Color color ) : uint

Method Details

Set() public method

public Set ( Vector3 pos, Color color ) : void
pos Vector3
color Color
return void

Set() public method

public Set ( Vector3 pos, Color color, Vector3 normal ) : void
pos Vector3
color Color
normal Vector3
return void

Set() public method

public Set ( float x, float y, float z, Color color ) : void
x float
y float
z float
color Color
return void

Set() public method

public Set ( float x, float y, float z, Color color, float nX, float nY, float nZ ) : void
x float
y float
z float
color Color
nX float
nY float
nZ float
return void

Property Details

Color public_oe property

public uint Color
return uint

Normal public_oe property

public Vector3 Normal
return Vector3

Position public_oe property

public Vector3 Position
return Vector3