Package | away3d.core.base.data |
Class | public class Face |
Property | Defined by | ||
---|---|---|---|
faceIndex : uint | Face | ||
uv0Index : uint | Face | ||
uv0u : Number [read-only]
| Face | ||
uv0v : Number [read-only]
| Face | ||
uv1Index : uint | Face | ||
uv1u : Number [read-only]
| Face | ||
uv1v : Number [read-only]
| Face | ||
uv2Index : uint | Face | ||
uv2u : Number [read-only]
| Face | ||
uv2v : Number [read-only]
| Face | ||
v0 : Vector [read-only]
| Face | ||
v0Index : uint | Face | ||
v0x : Number [read-only]
| Face | ||
v0y : Number [read-only]
| Face | ||
v0z : Number [read-only]
| Face | ||
v1 : Vector [read-only]
| Face | ||
v1Index : uint | Face | ||
v1x : Number [read-only]
| Face | ||
v1y : Number [read-only]
| Face | ||
v1z : Number [read-only]
| Face | ||
v2 : Vector [read-only]
| Face | ||
v2Index : uint | Face | ||
v2x : Number [read-only]
| Face | ||
v2y : Number [read-only]
| Face | ||
v2z : Number [read-only]
| Face |
Method | Defined by | ||
---|---|---|---|
Face
(vertices:Vector = null, uvs:Vector = null)
Creates a new
Face value object. | Face | ||
returns a new Face value Object
| Face | ||
setUv0Value(u:Number, v:Number):void
uv0 u and v values
| Face | ||
setUv1Value(u:Number, v:Number):void
uv1 u and v values
| Face | ||
setUv2Value(u:Number, v:Number):void
uv2 u and v values
| Face | ||
setUVat(index:uint, u:Number, v:Number):void
To set uv values for either uv0, uv1 or uv2.
| Face | ||
setVertexAt(index:uint, x:Number, y:Number, z:Number):void
To set uv values for either v0, v1 or v2.
| Face |
faceIndex | property |
faceIndex:uint
[read-write]Implementation
public function get faceIndex():uint
public function set faceIndex(value:uint):void
uv0Index | property |
uv0Index:uint
[read-write]Implementation
public function get uv0Index():uint
public function set uv0Index(value:uint):void
uv0u | property |
uv0u:Number
[read-only]Implementation
public function get uv0u():Number
uv0v | property |
uv0v:Number
[read-only]Implementation
public function get uv0v():Number
uv1Index | property |
uv1Index:uint
[read-write]Implementation
public function get uv1Index():uint
public function set uv1Index(value:uint):void
uv1u | property |
uv1u:Number
[read-only]Implementation
public function get uv1u():Number
uv1v | property |
uv1v:Number
[read-only]Implementation
public function get uv1v():Number
uv2Index | property |
uv2Index:uint
[read-write]Implementation
public function get uv2Index():uint
public function set uv2Index(value:uint):void
uv2u | property |
uv2u:Number
[read-only]Implementation
public function get uv2u():Number
uv2v | property |
uv2v:Number
[read-only]Implementation
public function get uv2v():Number
v0 | property |
v0:Vector
[read-only]Implementation
public function get v0():Vector
v0Index | property |
v0Index:uint
[read-write]Implementation
public function get v0Index():uint
public function set v0Index(value:uint):void
v0x | property |
v0x:Number
[read-only]Implementation
public function get v0x():Number
v0y | property |
v0y:Number
[read-only]Implementation
public function get v0y():Number
v0z | property |
v0z:Number
[read-only]Implementation
public function get v0z():Number
v1 | property |
v1:Vector
[read-only]Implementation
public function get v1():Vector
v1Index | property |
v1Index:uint
[read-write]Implementation
public function get v1Index():uint
public function set v1Index(value:uint):void
v1x | property |
v1x:Number
[read-only]Implementation
public function get v1x():Number
v1y | property |
v1y:Number
[read-only]Implementation
public function get v1y():Number
v1z | property |
v1z:Number
[read-only]Implementation
public function get v1z():Number
v2 | property |
v2:Vector
[read-only]Implementation
public function get v2():Vector
v2Index | property |
v2Index:uint
[read-write]Implementation
public function get v2Index():uint
public function set v2Index(value:uint):void
v2x | property |
v2x:Number
[read-only]Implementation
public function get v2x():Number
v2y | property |
v2y:Number
[read-only]Implementation
public function get v2y():Number
v2z | property |
v2z:Number
[read-only]Implementation
public function get v2z():Number
Face | () | constructor |
public function Face(vertices:Vector = null, uvs:Vector = null)
Parameters
vertices:Vector (default = null ) — [optional] 9 entries long Vector. |
|
uvs:Vector (default = null ) — [optional] 6 entries long Vector. |
clone | () | method |
setUv0Value | () | method |
public function setUv0Value(u:Number, v:Number):void
uv0 u and v values
Parametersu:Number — The u value
|
|
v:Number — The v value
|
setUv1Value | () | method |
public function setUv1Value(u:Number, v:Number):void
uv1 u and v values
Parametersu:Number — The u value
|
|
v:Number — The v value
|
setUv2Value | () | method |
public function setUv2Value(u:Number, v:Number):void
uv2 u and v values
Parametersu:Number — The u value
|
|
v:Number — The v value
|
setUVat | () | method |
public function setUVat(index:uint, u:Number, v:Number):void
To set uv values for either uv0, uv1 or uv2.
Parametersindex:uint — The id of the uv (0, 1 or 2)
|
|
u:Number — The horizontal coordinate of the texture value.
|
|
v:Number — The vertical coordinate of the texture value.
|
setVertexAt | () | method |
public function setVertexAt(index:uint, x:Number, y:Number, z:Number):void
To set uv values for either v0, v1 or v2.
Parametersindex:uint — The id of the uv (0, 1 or 2)
|
|
x:Number — The x value of the vertex.
|
|
y:Number — The y value of the vertex.
|
|
z:Number — The z value of the vertex.
|