Package | laya.d3.graphics |
Class | public class VertexPositionNormalTexture |
Inheritance | VertexPositionNormalTexture Object |
Implements | IVertex |
VertexPositionNormalTexture
类用于创建位置、法线、纹理顶点结构。
Property | Defined By | ||
---|---|---|---|
normal : Vector3 [read-only] | VertexPositionNormalTexture | ||
position : Vector3 [read-only] | VertexPositionNormalTexture | ||
textureCoordinate : Vector2 [read-only] | VertexPositionNormalTexture | ||
vertexDeclaration : VertexDeclaration [read-only] | VertexPositionNormalTexture |
Method | Defined By | ||
---|---|---|---|
VertexPositionNormalTexture |
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
VertexPositionNormalTexture | () | Constructor |
public function VertexPositionNormalTexture(position:Vector3, normal:Vector3, textureCoordinate:Vector2)
position:Vector3 | |
normal:Vector3 | |
textureCoordinate:Vector2 |