Packagelaya.d3.graphics
Classpublic class VertexPositionTerrain
InheritanceVertexPositionTerrain Inheritance Object
Implements IVertex

VertexPositionTerrain 类用于创建位置、法线、纹理1、纹理2顶点结构。



Public Properties
 PropertyDefined By
  normal : Vector3
[read-only]
VertexPositionTerrain
  position : Vector3
[read-only]
VertexPositionTerrain
  textureCoord0 : Vector2
[read-only]
VertexPositionTerrain
  textureCoord1 : Vector2
[read-only]
VertexPositionTerrain
  vertexDeclaration : VertexDeclaration
[read-only]
VertexPositionTerrain
Public Methods
 MethodDefined By
  
VertexPositionTerrain(position:Vector3, normal:Vector3, textureCoord0:Vector2, textureCoord1:Vector2)
VertexPositionTerrain
Property Detail
normalproperty
normal:Vector3  [read-only]


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


Implementation
    public function get position():Vector3
textureCoord0property 
textureCoord0:Vector2  [read-only]


Implementation
    public function get textureCoord0():Vector2
textureCoord1property 
textureCoord1:Vector2  [read-only]


Implementation
    public function get textureCoord1():Vector2
vertexDeclarationproperty 
vertexDeclaration:VertexDeclaration  [read-only]


Implementation
    public function get vertexDeclaration():VertexDeclaration
Constructor Detail
VertexPositionTerrain()Constructor
public function VertexPositionTerrain(position:Vector3, normal:Vector3, textureCoord0:Vector2, textureCoord1:Vector2)



Parameters
position:Vector3
 
normal:Vector3
 
textureCoord0:Vector2
 
textureCoord1:Vector2