| Package | com.yogurt3d.core.sceneobjects.interfaces |
| Interface | public interface ISceneObjectContainer extends ISceneObject, IEngineObject, flash.events.IEventDispatcher, IIdentifiableObject, IReconstructibleObject |
| Implementors | SceneObjectContainer |
| Property | Defined By | ||
|---|---|---|---|
| children : Vector.<ISceneObject> [read-only]
Children objects this
ISceneObjectContainer
instance have. | ISceneObjectContainer | ||
![]() | parent : ISceneObject [read-only]
Indicates the container that contains this object. | ISceneObject | |
![]() | root : ISceneObject [read-only]
Indicates the top-most relative container that
contains this object. | ISceneObject | |
![]() | scene : IScene [read-only]
Indicates the scene that contains this object. | ISceneObject | |
![]() | systemID : String [read-only]
Automatically assigned id. | IIdentifiableObject | |
![]() | transformation : Transformation [read-only]
Transformation of this object
| ISceneObject | |
![]() | userID : String
Identification string can be assigned by developer to identify objects. | IIdentifiableObject | |
| visible : Boolean
Sets the visiblity of children
| ISceneObjectContainer | ||
| Method | Defined By | ||
|---|---|---|---|
addChild(_value:ISceneObject):void
Adds specified child object into this
ISceneObjectContainer
instance. | ISceneObjectContainer | ||
![]() |
Creates new clone object. | IReconstructibleObject | |
containsChild(_child:ISceneObject, _recursive:Boolean = false):Boolean
Determines whether the specified ISceneObject
instance is a child of the ISceneObjectContainer
instance. | ISceneObjectContainer | ||
![]() | dispose():void
Removes all external referances and clears internals. | IReconstructibleObject | |
getChildBySystemID(_value:String):ISceneObject
Returns child object that has the
given systemID. | ISceneObjectContainer | ||
getChildByUserID(_value:String):ISceneObject
Returns child object that has the
given userID. | ISceneObjectContainer | ||
![]() | instance():*
Removes all external referances and clears internals. | IReconstructibleObject | |
removeChild(_value:ISceneObject):void
Removes specified child object from this
ISceneObjectContainer
instance. | ISceneObjectContainer | ||
removeChildBySystemID(_value:String):void
Removes child object that has the given
systemID from this ISceneObjectContainer
instance. | ISceneObjectContainer | ||
removeChildByUserID(_value:String):void
Removes child object that has the given
userID from this ISceneObjectContainer
instance. | ISceneObjectContainer | ||
![]() | renew():void
Renews object internals and resets properties of object. | IReconstructibleObject | |
![]() | toString():String
Returns a string identifier on this object
| IEngineObject | |
| children | property |
children:Vector.<ISceneObject> [read-only] Children objects this ISceneObjectContainer instance have.
public function get children():Vector.<ISceneObject>| visible | property |
visible:BooleanSets the visiblity of children
public function get visible():Boolean public function set visible(value:Boolean):void| addChild | () | method |
public function addChild(_value:ISceneObject):voidAdds specified child object into this ISceneObjectContainer 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 ISceneObjectContainer 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 works for all
children containers recursively.
|
Boolean |
| getChildBySystemID | () | method |
public function getChildBySystemID(_value:String):ISceneObjectReturns child object that has the given systemID.
Parameters
_value:String |
ISceneObject |
| getChildByUserID | () | method |
public function getChildByUserID(_value:String):ISceneObjectReturns child object that has the given userID.
Parameters
_value:String |
ISceneObject |
| removeChild | () | method |
public function removeChild(_value:ISceneObject):voidRemoves specified child object from this ISceneObjectContainer instance.
Parameters
_value:ISceneObject |
| removeChildBySystemID | () | method |
public function removeChildBySystemID(_value:String):voidRemoves child object that has the given systemID from this ISceneObjectContainer instance.
Parameters
_value:String |
| removeChildByUserID | () | method |
public function removeChildByUserID(_value:String):voidRemoves child object that has the given userID from this ISceneObjectContainer instance.
Parameters
_value:String |