C# Class XLibrary.VertexPositionColor

Afficher le fichier Open project: swax/CodePerspective Class Usage Examples

Méthodes publiques

Свойство Type Description
Color uint
Normal Vector3
Position Vector3

Méthodes publiques

Méthode 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

Méthode Description
ToRgba ( Color color ) : uint

Method Details

Set() public méthode

public Set ( Vector3 pos, Color color ) : void
pos Vector3
color Color
Résultat void

Set() public méthode

public Set ( Vector3 pos, Color color, Vector3 normal ) : void
pos Vector3
color Color
normal Vector3
Résultat void

Set() public méthode

public Set ( float x, float y, float z, Color color ) : void
x float
y float
z float
color Color
Résultat void

Set() public méthode

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
Résultat void

Property Details

Color public_oe property

public uint Color
Résultat uint

Normal public_oe property

public Vector3 Normal
Résultat Vector3

Position public_oe property

public Vector3 Position
Résultat Vector3