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