| Package | com.yogurt3d.core.sceneobjects.interfaces |
| Interface | public interface IScene extends IEngineObject, IIdentifiableObject, IReconstructibleObject |
| Implementors | Scene |
| 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. | IScene | ||
| children : Vector.<ISceneObject> [read-only]
Top level children objects contained in this
IScene instance
| IScene | ||
| lightSet : Vector.<ILight> [read-only] | IScene | ||
| objectSet : Vector.<ISceneObject> [read-only]
All objects added to this
IScene instance
(including hierarchical ones, children, grand children)
in a one dimensional (flattened) vector. | IScene | ||
| renderableSet : Vector.<ISceneObjectRenderable> [read-only]
ISceneObjectRenderable
objects added to this IScene instance
(including hierarchical ones, children, grand children)
in a one dimensional (flattened) vector. | IScene | ||
| sceneColor : uint | IScene | ||
| sceneColorSplit : Vector.<Number> [read-only] | IScene | ||
| skyBox : SkyBox | IScene | ||
![]() | systemID : String [read-only]
Automatically assigned id. | IIdentifiableObject | |
| triangleCount : int [read-only] | IScene | ||
![]() | userID : String
Identification string can be assigned by developer to identify objects. | IIdentifiableObject | |
| Method | Defined By | ||
|---|---|---|---|
addChild(_value:ISceneObject):void
Adds given child object into this
IScene instance
| IScene | ||
![]() |
Creates new clone object. | IReconstructibleObject | |
containsChild(_child:ISceneObject, _recursive:Boolean = false):Boolean
Determines whether the specified ISceneObject
instance is a child of the IScene instance. | IScene | ||
![]() | dispose():void
Removes all external referances and clears internals. | IReconstructibleObject | |
getChildBySystemID(_value:String):ISceneObject
Returns child object that has
given systemID. | IScene | ||
getChildByUserID(_value:String):ISceneObject
Returns child object that has
given userID. | IScene | ||
![]() | instance():*
Removes all external referances and clears internals. | IReconstructibleObject | |
removeChild(_value:ISceneObject):void
Removes given child object from this
IScene instance
| IScene | ||
removeChildBySystemID(_value:String):void
Removes child object that has given
systemID from this IScene instance. | IScene | ||
removeChildByUserID(_value:String):void
Removes child object that has given
userID from this IScene instance. | IScene | ||
![]() | renew():void
Renews object internals and resets properties of object. | IReconstructibleObject | |
![]() | toString():String
Returns a string identifier on this object
| IEngineObject | |
| 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 |
| 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| 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 |
| 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 |