Packagelaya.d3.graphics
Classpublic class VertexPositionNormalColor
InheritanceVertexPositionNormalColor Inheritance Object
Implements IVertex

VertexPositionNormalColor 类用于创建位置、法线、颜色顶点结构。



Public Properties
 PropertyDefined By
  color : Vector4
[read-only]
VertexPositionNormalColor
  normal : Vector3
[read-only]
VertexPositionNormalColor
  position : Vector3
[read-only]
VertexPositionNormalColor
  vertexDeclaration : VertexDeclaration
[read-only]
VertexPositionNormalColor
Public Methods
 MethodDefined By
  
VertexPositionNormalColor
Property Detail
colorproperty
color:Vector4  [read-only]


Implementation
    public function get color():Vector4
normalproperty 
normal:Vector3  [read-only]


Implementation
    public function get normal():Vector3
positionproperty 
position:Vector3  [read-only]


Implementation
    public function get position():Vector3
vertexDeclarationproperty 
vertexDeclaration:VertexDeclaration  [read-only]


Implementation
    public function get vertexDeclaration():VertexDeclaration
Constructor Detail
VertexPositionNormalColor()Constructor
public function VertexPositionNormalColor(position:Vector3, normal:Vector3, color:Vector4)



Parameters
position:Vector3
 
normal:Vector3
 
color:Vector4