Package | twaver.threed.event |
Class | public class SceneEvent |
Inheritance | SceneEvent ![]() |
Property | Defined By | ||
---|---|---|---|
result : Object
Specifies the additional information of the SceneEvent object. | SceneEvent | ||
source : Network3D
Indicates which scene is changed. | SceneEvent |
Method | Defined By | ||
---|---|---|---|
SceneEvent(s:Network3D, type:String, r:Object = null)
Construct of SceneEvent class. | SceneEvent |
Constant | Defined By | ||
---|---|---|---|
LIGHT_ADDED : String = light.added [static]
Defines the type value of a SceneEvent object when a light is added into the 3D scene. | SceneEvent | ||
LIGHT_REMOVED : String = light.removed [static]
Defines the type value of a SceneEvent object when a light is removed from the 3D scene. | SceneEvent | ||
LIGHTS_CLEARED : String = lights.cleared [static]
Defines the type value of a SceneEvent object when all the lights are removed from the 3D scene. | SceneEvent | ||
LIGHT_UPDATED : String = light.updated [static]
Defines the type value of a SceneEvent object when a light is updated in the 3D scene. | SceneEvent |
result | property |
public var result:Object
Specifies the additional information of the SceneEvent object. If it is about the light in a 3D scene, this parameter stands for the tag of the specified LightProfile.
source | property |
public var source:Network3D
Indicates which scene is changed.
SceneEvent | () | Constructor |
public function SceneEvent(s:Network3D, type:String, r:Object = null)
Construct of SceneEvent class.
Parameterss:Network3D — Network3D object of which the environment is changed.
| |
type:String (default = NaN ) — String. States which kind of change happened.
| |
r:Object (default = null ) — Object, |
LIGHT_ADDED | Constant |
public static const LIGHT_ADDED:String = light.added
Defines the type value of a SceneEvent object when a light is added into the 3D scene.
LIGHT_REMOVED | Constant |
public static const LIGHT_REMOVED:String = light.removed
Defines the type value of a SceneEvent object when a light is removed from the 3D scene.
LIGHT_UPDATED | Constant |
public static const LIGHT_UPDATED:String = light.updated
Defines the type value of a SceneEvent object when a light is updated in the 3D scene.
LIGHTS_CLEARED | Constant |
public static const LIGHTS_CLEARED:String = lights.cleared
Defines the type value of a SceneEvent object when all the lights are removed from the 3D scene.