Packageorg.papervision3d.core.geom.renderables
Classpublic class Vertex3DInstance

The Vertex3DInstance constructor lets you create 2D projected vertices.



Public Properties
 PropertyDefined by
  extra : Object
An object that contains user defined properties.
Vertex3DInstance
  normal : Number3D
Vertex3DInstance
  visible : Boolean
[internal-use] A Boolean value that indicates whether the vertex is visible after projection.
Vertex3DInstance
  x : Number
An Number that sets the X coordinate of a object relative to the scene coordinate system.
Vertex3DInstance
  y : Number
An Number that sets the Y coordinate of a object relative to the scene coordinates.
Vertex3DInstance
  z : Number
An Number that sets the Z coordinate of a object relative to the scene coordinates.
Vertex3DInstance
Public Methods
 MethodDefined by
  
Vertex3DInstance(x:Number = 0, y:Number = 0, z:Number = 0)
Creates a new Vertex2D object whose three-dimensional values are specified by the x, y and z parameters.
Vertex3DInstance
  
Vertex3DInstance
  
[static]
Vertex3DInstance
  
[static]
Vertex3DInstance
  
[static]
Vertex3DInstance
Property detail
extraproperty
public var extra:Object

An object that contains user defined properties.

normalproperty 
public var normal:Number3D
visibleproperty 
public var visible:Boolean

[internal-use] A Boolean value that indicates whether the vertex is visible after projection. If false, it indicates that the vertex is behind the camera plane.

xproperty 
public var x:Number

An Number that sets the X coordinate of a object relative to the scene coordinate system.

yproperty 
public var y:Number

An Number that sets the Y coordinate of a object relative to the scene coordinates.

zproperty 
public var z:Number

An Number that sets the Z coordinate of a object relative to the scene coordinates.

Constructor detail
Vertex3DInstance()constructor
public function Vertex3DInstance(x:Number = 0, y:Number = 0, z:Number = 0)

Creates a new Vertex2D object whose three-dimensional values are specified by the x, y and z parameters.

Parameters
x:Number (default = 0) — The horizontal coordinate value. The default value is zero.
 
y:Number (default = 0) — The vertical coordinate value. The default value is zero.
 
z:Number (default = 0) — The depth coordinate value. The default value is zero.
Method detail
clone()method
public function clone():Vertex3DInstance

Returns
Vertex3DInstance
cross()method 
public static function cross(v0:Vertex3DInstance, v1:Vertex3DInstance):NumberParameters
v0:Vertex3DInstance
 
v1:Vertex3DInstance

Returns
Number
dot()method 
public static function dot(v0:Vertex3DInstance, v1:Vertex3DInstance):NumberParameters
v0:Vertex3DInstance
 
v1:Vertex3DInstance

Returns
Number
sub()method 
public static function sub(v0:Vertex3DInstance, v1:Vertex3DInstance):Vertex3DInstanceParameters
v0:Vertex3DInstance
 
v1:Vertex3DInstance

Returns
Vertex3DInstance