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