Package | laya.d3.graphics |
Class | public class VertexPositionTerrain |
Inheritance | VertexPositionTerrain Object |
Implements | IVertex |
VertexPositionTerrain
类用于创建位置、法线、纹理1、纹理2顶点结构。
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
VertexPositionTerrain(position:Vector3, normal:Vector3, textureCoord0:Vector2, textureCoord1:Vector2) | VertexPositionTerrain |
normal | property |
position | property |
textureCoord0 | property |
textureCoord1 | property |
vertexDeclaration | property |
vertexDeclaration:VertexDeclaration
[read-only] public function get vertexDeclaration():VertexDeclaration
VertexPositionTerrain | () | Constructor |
public function VertexPositionTerrain(position:Vector3, normal:Vector3, textureCoord0:Vector2, textureCoord1:Vector2)
position:Vector3 | |
normal:Vector3 | |
textureCoord0:Vector2 | |
textureCoord1:Vector2 |