Packagecom.yogurt3d.core.sceneobjects
Classpublic class SceneObject
InheritanceSceneObject Inheritance EngineObject Inheritance Object
Subclasses Camera, Light, SceneObjectContainer, SceneObjectRenderable, Sound3D, Sound3D, SoundObserver, SoundObserver

SceneObject interface abstract type.



Public Properties
 PropertyDefined By
  aabbWireframe : EAabbDrawMode
SceneObject
  axisAlignedBoundingBox : AxisAlignedBoundingBox
[read-only]
SceneObject
  boundingSphere : BoundingSphere
[read-only]
SceneObject
  children : Vector.<SceneObject>
[read-only]
SceneObject
  cumulativeAxisAlignedBoundingBox : AxisAlignedBoundingBox
[read-only]
SceneObject
  cumulativeBoundingSphere : BoundingSphere
[read-only]
SceneObject
  isStatic : Boolean
SceneObject
  onAddedToScene : Signal
[read-only]
SceneObject
  onMouseClick : Signal
[read-only]
SceneObject
  onMouseDoubleClick : Signal
[read-only]
SceneObject
  onMouseDown : Signal
[read-only]
SceneObject
  onMouseMove : Signal
[read-only]
SceneObject
  onMouseOut : Signal
[read-only]
SceneObject
  onMouseOver : Signal
[read-only]
SceneObject
  onMouseUp : Signal
[read-only]
SceneObject
  onRemovedFromScene : Signal
[read-only]
SceneObject
  onRenderLayerChanged : Signal
[read-only]
SceneObject
  onStaticChanged : Signal
[read-only]
SceneObject
  parent : SceneObject
[read-only]
SceneObject
  renderLayer : int
SceneObject
  root : SceneObject
[read-only]
SceneObject
  scene : IScene
[read-only]
SceneObject
 InheritedsystemID : String
[read-only] Automatically assigned id.
EngineObject
  transformation : Transformation
[read-only]
SceneObject
 InheriteduserID : String
Identification string can be assigned by developer to identify objects.
EngineObject
  visible : Boolean
SceneObject
Public Methods
 MethodDefined By
  
SceneObject(_initInternals:Boolean = true)
SceneObject
  
addChild(_value:SceneObject):void
SceneObject
  
[override]
SceneObject
  
containsChild(_child:SceneObject, _recursive:Boolean = false):Boolean
SceneObject
  
dispose():void
[override]
SceneObject
  
[override]
SceneObject
  
disposeGPU():void
[override]
SceneObject
  
SceneObject
  
SceneObject
 Inherited
Removes all external referances and clears internals.
EngineObject
  
SceneObject
  
removeChildBySystemID(_value:String):void
SceneObject
  
removeChildByUserID(_value:String):void
SceneObject
 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
  
[override]
SceneObject
  
[override]
SceneObject
Property Detail
aabbWireframeproperty
aabbWireframe:EAabbDrawMode


Implementation
    public function get aabbWireframe():EAabbDrawMode
    public function set aabbWireframe(value:EAabbDrawMode):void
axisAlignedBoundingBoxproperty 
axisAlignedBoundingBox:AxisAlignedBoundingBox  [read-only]


Implementation
    public function get axisAlignedBoundingBox():AxisAlignedBoundingBox
boundingSphereproperty 
boundingSphere:BoundingSphere  [read-only]


Implementation
    public function get boundingSphere():BoundingSphere
childrenproperty 
children:Vector.<SceneObject>  [read-only]


Implementation
    public function get children():Vector.<SceneObject>
cumulativeAxisAlignedBoundingBoxproperty 
cumulativeAxisAlignedBoundingBox:AxisAlignedBoundingBox  [read-only]


Implementation
    public function get cumulativeAxisAlignedBoundingBox():AxisAlignedBoundingBox
cumulativeBoundingSphereproperty 
cumulativeBoundingSphere:BoundingSphere  [read-only]


Implementation
    public function get cumulativeBoundingSphere():BoundingSphere
isStaticproperty 
isStatic:Boolean


Implementation
    public function get isStatic():Boolean
    public function set isStatic(value:Boolean):void
m_aabbproperty 
YOGURT3D_INTERNAL var m_aabb:AxisAlignedBoundingBox

m_aabbCumulativeproperty 
YOGURT3D_INTERNAL var m_aabbCumulative:AxisAlignedBoundingBox

m_boundingSphereproperty 
YOGURT3D_INTERNAL var m_boundingSphere:BoundingSphere

m_boundingSphereCumulativeproperty 
YOGURT3D_INTERNAL var m_boundingSphereCumulative:BoundingSphere

m_drawAABBWireFrameproperty 
YOGURT3D_INTERNAL var m_drawAABBWireFrame:EAabbDrawMode

m_isStaticproperty 
YOGURT3D_INTERNAL var m_isStatic:Boolean

m_onAddedToSceneproperty 
YOGURT3D_INTERNAL var m_onAddedToScene:Signal

m_onMouseClickproperty 
YOGURT3D_INTERNAL var m_onMouseClick:Signal

m_onMouseDoubleClickproperty 
YOGURT3D_INTERNAL var m_onMouseDoubleClick:Signal

m_onMouseDownproperty 
YOGURT3D_INTERNAL var m_onMouseDown:Signal

m_onMouseMoveproperty 
YOGURT3D_INTERNAL var m_onMouseMove:Signal

m_onMouseOutproperty 
YOGURT3D_INTERNAL var m_onMouseOut:Signal

m_onMouseOverproperty 
YOGURT3D_INTERNAL var m_onMouseOver:Signal

m_onMouseUpproperty 
YOGURT3D_INTERNAL var m_onMouseUp:Signal

m_onRemovedFromSceneproperty 
YOGURT3D_INTERNAL var m_onRemovedFromScene:Signal

m_onRenderLayerChangedproperty 
YOGURT3D_INTERNAL var m_onRenderLayerChanged:Signal

m_onStaticChangedproperty 
YOGURT3D_INTERNAL var m_onStaticChanged:Signal

m_reinitboundingVolumesproperty 
YOGURT3D_INTERNAL var m_reinitboundingVolumes:Boolean = true

This flag indicates that the bounding volumes have to be re initialized after a child transformation change

m_renderLayerproperty 
YOGURT3D_INTERNAL var m_renderLayer:int = 0

m_transformationproperty 
YOGURT3D_INTERNAL var m_transformation:Transformation

m_visibleproperty 
YOGURT3D_INTERNAL var m_visible:Boolean = true

onAddedToSceneproperty 
onAddedToScene:Signal  [read-only]


Implementation
    public function get onAddedToScene():Signal

See also

com.yogurt3d.core.sceneobjects.interfaces.SceneObject.onAddedToScene
onMouseClickproperty 
onMouseClick:Signal  [read-only]


Implementation
    public function get onMouseClick():Signal

See also

com.yogurt3d.core.sceneobjects.interfaces.SceneObject.onMouseClick
onMouseDoubleClickproperty 
onMouseDoubleClick:Signal  [read-only]


Implementation
    public function get onMouseDoubleClick():Signal

See also

com.yogurt3d.core.sceneobjects.interfaces.SceneObject.onMouseDoubleClick
onMouseDownproperty 
onMouseDown:Signal  [read-only]


Implementation
    public function get onMouseDown():Signal

See also

com.yogurt3d.core.sceneobjects.interfaces.SceneObject.onMouseDown
onMouseMoveproperty 
onMouseMove:Signal  [read-only]


Implementation
    public function get onMouseMove():Signal

See also

com.yogurt3d.core.sceneobjects.interfaces.SceneObject.onMouseMove
onMouseOutproperty 
onMouseOut:Signal  [read-only]


Implementation
    public function get onMouseOut():Signal

See also

com.yogurt3d.core.sceneobjects.interfaces.SceneObject.onMouseOut
onMouseOverproperty 
onMouseOver:Signal  [read-only]


Implementation
    public function get onMouseOver():Signal

See also

com.yogurt3d.core.sceneobjects.interfaces.SceneObject.onMouseOver
onMouseUpproperty 
onMouseUp:Signal  [read-only]


Implementation
    public function get onMouseUp():Signal

See also

com.yogurt3d.core.sceneobjects.interfaces.SceneObject.onMouseUp
onRemovedFromSceneproperty 
onRemovedFromScene:Signal  [read-only]


Implementation
    public function get onRemovedFromScene():Signal

See also

com.yogurt3d.core.sceneobjects.interfaces.SceneObject.onRemovedFromScene
onRenderLayerChangedproperty 
onRenderLayerChanged:Signal  [read-only]


Implementation
    public function get onRenderLayerChanged():Signal

See also

com.yogurt3d.core.sceneobjects.interfaces.SceneObject.onRenderLayerChanged
onStaticChangedproperty 
onStaticChanged:Signal  [read-only]


Implementation
    public function get onStaticChanged():Signal

See also

com.yogurt3d.core.sceneobjects.interfaces.SceneObject.onStaticChanged
parentproperty 
parent:SceneObject  [read-only]


Implementation
    public function get parent():SceneObject
renderLayerproperty 
renderLayer:int


Implementation
    public function get renderLayer():int
    public function set renderLayer(value:int):void
rootproperty 
root:SceneObject  [read-only]


Implementation
    public function get root():SceneObject
sceneproperty 
scene:IScene  [read-only]


Implementation
    public function get scene():IScene
transformationproperty 
transformation:Transformation  [read-only]


Implementation
    public function get transformation():Transformation
visibleproperty 
visible:Boolean


Implementation
    public function get visible():Boolean
    public function set visible(value:Boolean):void
Constructor Detail
SceneObject()Constructor
public function SceneObject(_initInternals:Boolean = true)



Parameters
_initInternals:Boolean (default = true)
Method Detail
addChild()method
public function addChild(_value:SceneObject):void

Parameters

_value:SceneObject

clone()method 
override public function clone():IEngineObject

Returns
IEngineObject
containsChild()method 
public function containsChild(_child:SceneObject, _recursive:Boolean = false):Boolean

Parameters

_child:SceneObject
 
_recursive:Boolean (default = false)

Returns
Boolean
dispose()method 
override public function dispose():void

disposeDeep()method 
override public function disposeDeep():void

disposeGPU()method 
override public function disposeGPU():void

drawAABBWireFrame()method 
YOGURT3D_INTERNAL function drawAABBWireFrame(_matrix:Matrix3D, _viewport:Viewport, _mode:EAabbDrawMode):void

Parameters

_matrix:Matrix3D
 
_viewport:Viewport
 
_mode:EAabbDrawMode

getChildBySystemID()method 
public function getChildBySystemID(_value:String):SceneObject

Parameters

_value:String

Returns
SceneObject
getChildByUserID()method 
public function getChildByUserID(_value:String):SceneObject

Parameters

_value:String

Returns
SceneObject
initInternals()method 
override protected function initInternals():void

removeChild()method 
public function removeChild(_value:SceneObject):void

Parameters

_value:SceneObject

removeChildBySystemID()method 
public function removeChildBySystemID(_value:String):void

Parameters

_value:String

removeChildByUserID()method 
public function removeChildByUserID(_value:String):void

Parameters

_value:String

trackObject()method 
override protected function trackObject():void