| Package | com.yogurt3d.core.sceneobjects |
| Class | public class Scene |
| Inheritance | Scene EngineObject Object |
| Implements | IScene |
| Property | Defined By | ||
|---|---|---|---|
| cameraSet : Vector.<ICamera> [read-only]
ICamera
objects added to this IScene instance
(including hierarchical ones, children, grand children)
in a one dimensional (flattened) vector. | Scene | ||
| children : Vector.<ISceneObject> [read-only]
Top level children objects contained in this
IScene instance
| Scene | ||
| lightSet : Vector.<ILight> [read-only] | Scene | ||
| objectSet : Vector.<ISceneObject> [read-only]
All objects added to this
IScene instance
(including hierarchical ones, children, grand children)
in a one dimensional (flattened) vector. | Scene | ||
| renderableSet : Vector.<ISceneObjectRenderable> [read-only]
ISceneObjectRenderable
objects added to this IScene instance
(including hierarchical ones, children, grand children)
in a one dimensional (flattened) vector. | Scene | ||
| sceneColor : uint | Scene | ||
| sceneColorSplit : Vector.<Number> [read-only] | Scene | ||
| skyBox : SkyBox | Scene | ||
![]() | systemID : String [read-only]
Automatically assigned id. | EngineObject | |
| triangleCount : int [read-only] | Scene | ||
![]() | userID : String
Identification string can be assigned by developer to identify objects. | EngineObject | |
| Method | Defined By | ||
|---|---|---|---|
Scene(_initInternals:Boolean = true) | Scene | ||
addChild(_value:ISceneObject):void
Adds given child object into this
IScene instance
| Scene | ||
![]() |
Creates new clone object. | EngineObject | |
containsChild(_child:ISceneObject, _recursive:Boolean = false):Boolean
Determines whether the specified ISceneObject
instance is a child of the IScene instance. | Scene | ||
![]() | dispose():void
Removes all external referances and clears internals. | EngineObject | |
getChildBySystemID(_value:String):ISceneObject
Returns child object that has
given systemID. | Scene | ||
getChildByUserID(_value:String):ISceneObject
Returns child object that has
given userID. | Scene | ||
![]() | instance():*
Removes all external referances and clears internals. | EngineObject | |
removeChild(_value:ISceneObject):void
Removes given child object from this
IScene instance
| Scene | ||
removeChildBySystemID(_value:String):void
Removes child object that has given
systemID from this IScene instance. | Scene | ||
removeChildByUserID(_value:String):void
Removes child object that has given
userID from this IScene instance. | Scene | ||
![]() | renew():void
Renews object internals and resets properties of object. | EngineObject | |
![]() | toString():String
Returns a string identifier on this object
| EngineObject | |
| Method | Defined By | ||
|---|---|---|---|
initInternals():void [override] | Scene | ||
trackObject():void [override] | Scene | ||
| cameraSet | property |
cameraSet:Vector.<ICamera> [read-only] ICamera objects added to this IScene instance (including hierarchical ones, children, grand children) in a one dimensional (flattened) vector.
public function get cameraSet():Vector.<ICamera>| children | property |
children:Vector.<ISceneObject> [read-only] Top level children objects contained in this IScene instance
public function get children():Vector.<ISceneObject>| lightSet | property |
| m_rootObject | property |
YOGURT3D_INTERNAL var m_rootObject:ISceneObjectContainer| objectSet | property |
objectSet:Vector.<ISceneObject> [read-only] All objects added to this IScene instance (including hierarchical ones, children, grand children) in a one dimensional (flattened) vector.
public function get objectSet():Vector.<ISceneObject>| renderableSet | property |
renderableSet:Vector.<ISceneObjectRenderable> [read-only] ISceneObjectRenderable objects added to this IScene instance (including hierarchical ones, children, grand children) in a one dimensional (flattened) vector.
public function get renderableSet():Vector.<ISceneObjectRenderable>| sceneColor | property |
sceneColor:uint public function get sceneColor():uint public function set sceneColor(value:uint):void| sceneColorSplit | property |
sceneColorSplit:Vector.<Number> [read-only] public function get sceneColorSplit():Vector.<Number>| skyBox | property |
skyBox:SkyBox public function get skyBox():SkyBox public function set skyBox(value:SkyBox):void| triangleCount | property |
triangleCount:int [read-only] public function get triangleCount():int| Scene | () | Constructor |
public function Scene(_initInternals:Boolean = true)_initInternals:Boolean (default = true) |
| addChild | () | method |
public function addChild(_value:ISceneObject):voidAdds given child object into this IScene instance
Parameters
_value:ISceneObject |
| containsChild | () | method |
public function containsChild(_child:ISceneObject, _recursive:Boolean = false):BooleanDetermines whether the specified ISceneObject instance is a child of the IScene instance.
Parameters
_child:ISceneObject — Child to check.
| |
_recursive:Boolean (default = false) — If this argument is false
the check only works for the highest hierarchy. If argument is set
true the check will work for all children containers.
|
Boolean |
| getChildBySystemID | () | method |
public function getChildBySystemID(_value:String):ISceneObjectReturns child object that has given systemID.
Parameters
_value:String |
ISceneObject |
| getChildByUserID | () | method |
public function getChildByUserID(_value:String):ISceneObjectReturns child object that has given userID.
Parameters
_value:String |
ISceneObject |
| initInternals | () | method |
override protected function initInternals():void| removeChild | () | method |
public function removeChild(_value:ISceneObject):voidRemoves given child object from this IScene instance
Parameters
_value:ISceneObject |
| removeChildBySystemID | () | method |
public function removeChildBySystemID(_value:String):voidRemoves child object that has given systemID from this IScene instance.
Parameters
_value:String |
| removeChildByUserID | () | method |
public function removeChildByUserID(_value:String):voidRemoves child object that has given userID from this IScene instance.
Parameters
_value:String |
| trackObject | () | method |
override protected function trackObject():void