C# Class LWisteria.StudiesOfOpenTK.CubeWithShader.Vertex

頂点要素
Show file Open project: aokomoriuta/StudiesOfOpenTK Class Usage Examples

Public Properties

Property Type Description
Normal OpenTK.Vector3
Position OpenTK.Vector3
Stride int

Public Methods

Method Description
Vertex ( OpenTK.Vector3 position, OpenTK.Vector3 normal ) : OpenTK

頂点要素を作成する

Method Details

Vertex() public method

頂点要素を作成する
public Vertex ( OpenTK.Vector3 position, OpenTK.Vector3 normal ) : OpenTK
position OpenTK.Vector3 頂点位置
normal OpenTK.Vector3 頂点の法線方向ベクトル
return OpenTK

Property Details

Normal public property

頂点の法線方向
public Vector3,OpenTK Normal
return OpenTK.Vector3

Position public property

頂点の位置
public Vector3,OpenTK Position
return OpenTK.Vector3

Stride public static property

頂点要素のサイズ
public static int Stride
return int