Class Info
public class Element
点源。
Constructor Name
Element(Vector3 position, float lineWidth, float texCoord, Vector3 normal, Vector4 color)
构造方法,使用位置、线宽、纹理坐标、法线以及颜色初始化Element。
Qualifier and Type
Method Name and Description
Vector4
getColor()
获取点源的颜色。
float
getLineWidth()
获取点源的线宽。
Vector3
getNormal()
获取点源的法线。
getPosition()
获取点源的位置。
getTexCoord()
获取点源的纹理坐标。
Constructor
public Element(Vector3 position, float lineWidth, float texCoord, Vector3 normal, Vector4 color)
Method
public Vector4 getColor()
Returns
Type
Description
点源的颜色。
public float getLineWidth()
点源的线宽。
public Vector3 getNormal()
点源的法线。
public Vector3 getPosition()
点源的位置。
public float getTexCoord()
点源的纹理坐标。