Packagecom.yogurt3d.core.scenetree.octree
Classpublic class OctScene
InheritanceOctScene Inheritance Scene Inheritance EngineObject Inheritance Object



Public Properties
 PropertyDefined By
 InheritedcameraSet : Vector.<Camera>
[read-only] Camera objects added to this IScene instance (including hierarchical ones, children, grand children) in a one dimensional (flattened) vector.
Scene
 Inheritedchildren : Vector.<SceneObject>
[read-only] Top level children objects contained in this IScene instance
Scene
 InheritedlightSet : Vector.<Light>
[read-only]
Scene
 InheritedobjectSet : Vector.<SceneObject>
[read-only] All objects added to this IScene instance (including hierarchical ones, children, grand children) in a one dimensional (flattened) vector.
Scene
 InheritedpostEffects : Vector.<Effect>
[read-only]
Scene
 InheritedsceneColor : Color
Scene
 InheritedskyBox : SkyBox
Scene
 InheritedsystemID : String
[read-only] Automatically assigned id.
EngineObject
 InheritedtriangleCount : int
[read-only]
Scene
 InheriteduserID : String
Identification string can be assigned by developer to identify objects.
EngineObject
Public Methods
 MethodDefined By
  
OctScene(minX:Number, minY:Number, minZ:Number, maxX:Number, maxY:Number, maxZ:Number, maxDepth:uint = 3, preAllocateNodes:Boolean = true, _initInternals:Boolean = true)
OctScene
 Inherited
addChild(_value:SceneObject):void
Adds given child object into this IScene instance
Scene
 Inherited
addPostEffect(_effect:Effect):void
Scene
 Inherited
Scene
 Inherited
Creates new clone object.
EngineObject
 Inherited
containsChild(_child:SceneObject, _recursive:Boolean = false):Boolean
Determines whether the specified SceneObject instance is a child of the IScene instance.
Scene
 Inherited
dispose():void
[override]
Scene
 Inherited
[override]
Scene
 Inherited
disposeGPU():void
[override]
Scene
 Inherited
Returns child object that has given systemID.
Scene
 Inherited
Returns child object that has given userID.
Scene
 Inherited
getIlluminatorLightIndexes(_scene:IScene, _objectRenderable:SceneObjectRenderable):Vector.<int>
Scene
 Inherited
Scene
 Inherited
SceneObjectRenderable objects added to this IScene instance (including hierarchical ones, children, grand children) in a one dimensional (flattened) vector.
Scene
 Inherited
getRenderableSetLight(_light:Light, _lightIndex:int):Vector.<SceneObjectRenderable>
Scene
 Inherited
Removes all external referances and clears internals.
EngineObject
 Inherited
postRender():void
Scene
 Inherited
preRender(_activeCamera:Camera):void
Scene
 Inherited
Scene
 Inherited
Removes given child object from this IScene instance
Scene
 Inherited
removeChildBySystemID(_value:String):void
Removes child object that has given systemID from this IScene instance.
Scene
 Inherited
removeChildByUserID(_value:String):void
Removes child object that has given userID from this IScene instance.
Scene
 Inherited
removePostEffect(_effect:Effect):void
Scene
 Inherited
renew():void
Renews object internals and resets properties of object.
EngineObject
 Inherited
toString():String
Returns a string identifier on this object
EngineObject
Protected Methods
 MethodDefined By
 Inherited
[override]
Scene
 Inherited
[override]
Scene
Public Constants
 ConstantDefined By
 InheritedOCTREE_SCENE : String = OcTreeSceneTreeManagerDriver
[static]
Scene
 InheritedQUAD_SCENE : String = QuadSceneTreeManagerDriver
[static]
Scene
 InheritedSIMPLE_SCENE : String = SimpleSceneTreeManagerDriver
[static]
Scene
Constructor Detail
OctScene()Constructor
public function OctScene(minX:Number, minY:Number, minZ:Number, maxX:Number, maxY:Number, maxZ:Number, maxDepth:uint = 3, preAllocateNodes:Boolean = true, _initInternals:Boolean = true)



Parameters
minX:Number
 
minY:Number
 
minZ:Number
 
maxX:Number
 
maxY:Number
 
maxZ:Number
 
maxDepth:uint (default = 3)
 
preAllocateNodes:Boolean (default = true)
 
_initInternals:Boolean (default = true)