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