目录

Element

Class Info

public class Element

点源。

Public Constructor Summary

Constructor Name

Element(Vector3 position, float lineWidth, float texCoord, Vector3 normal, Vector4 color)

构造方法,使用位置、线宽、纹理坐标、法线以及颜色初始化Element。

Public Method Summary

Qualifier and Type

Method Name and Description

Vector4

getColor()

获取点源的颜色。

float

getLineWidth()

获取点源的线宽。

Vector3

getNormal()

获取点源的法线。

Vector3

getPosition()

获取点源的位置。

float

getTexCoord()

获取点源的纹理坐标。

Public Constructors

[h2]Element

Constructor

public Element(Vector3 position, float lineWidth, float texCoord, Vector3 normal, Vector4 color)

构造方法,使用位置、线宽、纹理坐标、法线以及颜色初始化Element。

Public Methods

[h2]getColor

Method

public Vector4 getColor()

获取点源的颜色。

Returns

Type

Description

Vector4

点源的颜色。

[h2]getLineWidth

Method

public float getLineWidth()

获取点源的线宽。

Returns

Type

Description

float

点源的线宽。

[h2]getNormal

Method

public Vector3 getNormal()

获取点源的颜色。

Returns

Type

Description

Vector3

点源的法线。

[h2]getPosition

Method

public Vector3 getPosition()

获取点源的位置。

Returns

Type

Description

Vector3

点源的位置。

[h2]getTexCoord

Method

public float getTexCoord()

获取点源的纹理坐标。

Returns

Type

Description

float

点源的纹理坐标。