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