Packageaway3d.core.draw
Classpublic class PrimitiveVolumeBlockNode

Volume block tree node

Public Properties
 PropertyDefined by
  list : Array
The list of drawing primitives inside the volume block.
PrimitiveVolumeBlockNode
  maxX : Number
Returns the maximum x value of the drawing primitives contained in the volume block node.
PrimitiveVolumeBlockNode
  maxY : Number
Returns the maximum y value of the drawing primitives contained in the volume block node.
PrimitiveVolumeBlockNode
  maxZ : Number
Returns the maximum z value of the drawing primitives contained in the volume block node.
PrimitiveVolumeBlockNode
  minX : Number = Infinity
Returns the minimum x value of the drawing primitives contained in the volume block node.
PrimitiveVolumeBlockNode
  minY : Number = Infinity
Returns the minimum y value of the drawing primitives contained in the volume block node.
PrimitiveVolumeBlockNode
  minZ : Number = Infinity
Returns the minimum z value of the drawing primitives contained in the volume block node.
PrimitiveVolumeBlockNode
  source : Object3D
Reference to the 3d object represented by the volume block node.
PrimitiveVolumeBlockNode
Public Methods
 MethodDefined by
  
Creates a new PrimitiveQuadrantTreeNode object.
PrimitiveVolumeBlockNode
  
push(pri:DrawPrimitive):void
Adds a primitive to the volume block
PrimitiveVolumeBlockNode
  
remove(pri:DrawPrimitive):void
Removes a primitive from the volume block
PrimitiveVolumeBlockNode
Property detail
listproperty
public var list:Array

The list of drawing primitives inside the volume block.

maxXproperty 
public var maxX:Number

Returns the maximum x value of the drawing primitives contained in the volume block node.

maxYproperty 
public var maxY:Number

Returns the maximum y value of the drawing primitives contained in the volume block node.

maxZproperty 
public var maxZ:Number

Returns the maximum z value of the drawing primitives contained in the volume block node.

minXproperty 
public var minX:Number = Infinity

Returns the minimum x value of the drawing primitives contained in the volume block node.

minYproperty 
public var minY:Number = Infinity

Returns the minimum y value of the drawing primitives contained in the volume block node.

minZproperty 
public var minZ:Number = Infinity

Returns the minimum z value of the drawing primitives contained in the volume block node.

sourceproperty 
public var source:Object3D

Reference to the 3d object represented by the volume block node.

Constructor detail
PrimitiveVolumeBlockNode()constructor
public function PrimitiveVolumeBlockNode(source:Object3D)Parameters
source:Object3D — A reference to the 3d object represented by the volume block node.
Init Parameters
Method detail
push()method
public function push(pri:DrawPrimitive):void

Adds a primitive to the volume block

Parameters
pri:DrawPrimitive
remove()method 
public function remove(pri:DrawPrimitive):void

Removes a primitive from the volume block

Parameters
pri:DrawPrimitive
Wiki link
Click to go to the wiki page for 'away3d.core.draw.PrimitiveVolumeBlockNode'

Code examples

Comments