Package | laya.d3.graphics |
Class | public class VertexPositionNormalColorTexture |
Inheritance | VertexPositionNormalColorTexture Object |
Implements | IVertex |
VertexPositionNormalColorTexture
类用于创建位置、法线、颜色、纹理顶点结构。
Property | Defined By | ||
---|---|---|---|
color : Vector4 [read-only] | VertexPositionNormalColorTexture | ||
normal : Vector3 [read-only] | VertexPositionNormalColorTexture | ||
position : Vector3 [read-only] | VertexPositionNormalColorTexture | ||
textureCoordinate : Vector2 [read-only] | VertexPositionNormalColorTexture | ||
vertexDeclaration : VertexDeclaration [read-only] | VertexPositionNormalColorTexture |
Method | Defined By | ||
---|---|---|---|
VertexPositionNormalColorTexture(position:Vector3, normal:Vector3, color:Vector4, textureCoordinate:Vector2) | VertexPositionNormalColorTexture |
color | property |
normal | property |
position | property |
textureCoordinate | property |
textureCoordinate:Vector2
[read-only] public function get textureCoordinate():Vector2
vertexDeclaration | property |
vertexDeclaration:VertexDeclaration
[read-only] public function get vertexDeclaration():VertexDeclaration
VertexPositionNormalColorTexture | () | Constructor |
public function VertexPositionNormalColorTexture(position:Vector3, normal:Vector3, color:Vector4, textureCoordinate:Vector2)
position:Vector3 | |
normal:Vector3 | |
color:Vector4 | |
textureCoordinate:Vector2 |