PixelLightAPI
.
|
Abstract scene node modifier (other name: controller) class. More...
#include <SceneNodeModifier.h>
Public Types | |
enum | EFlags { Inactive = 1<<0, Automatic = 1<<1 } |
Scene node modifier flags. More... | |
Public Member Functions | |
pl_enum (EFlags) pl_enum_value(Inactive | |
This scene renderer pass is currently NOT active | pl_enum_value (Automatic,"This scene node modifier was created automatically during runtime and should not be saved with the scene. Such scene nodes modifiers may also be hidden for instance within a scene editor.") pl_enum_endpl_class(PLS_RTTI_EXPORT |
This scene renderer pass is currently NOT active Abstract scene node | modifier (other name:controller) class") pl_properties pl_property("SceneNodeClass" |
This scene renderer pass is currently NOT active Abstract scene node PLScene::SceneNode pl_properties_end pl_attribute(Flags, pl_flag_type(EFlags), 0, ReadWrite, GetSet,"Flags","") pl_class_end public virtual PLS_API void | SetFlags (PLCore::uint32 nValue) |
SceneNode & | GetSceneNode () const |
Returns the owner scene node. | |
int | GetSceneNodeIndex () |
Returns the index of this scene node modifier within the scene node modifier list of the owner scene node. | |
PLS_API SceneNodeModifier * | Clone () |
Creates a clone of this scene node modifier within the owner scene node. | |
PLS_API SceneNodeModifier * | CloneAtIndex (int nPosition) |
Creates a clone of this scene node modifier within the owner scene node at a certain index inside the scene node modifier list. | |
SceneContext * | GetSceneContext () const |
Returns the scene context the owner scene node is in. | |
PLS_API PLCore::String | GetSceneNodeClass () const |
Returns the scene node class this modifier operates on. | |
PLS_API PLCore::String | GetAbsoluteName () const |
Returns an unique absolute name for the scene node modifier. | |
bool | IsActive () const |
Is the scene node modifier active? | |
PLS_API void | SetActive (bool bActive=true) |
Sets whether the scene node modifier is active or not. | |
virtual PLS_API PLInput::Controller * | GetInputController () const |
Get input controller. | |
Public Attributes | |
This scene renderer pass is currently NOT active | SceneNodeModifier |
This scene renderer pass is currently NOT active | PLScene |
Protected Member Functions | |
virtual PLS_API void | InformedOnInit () |
Informed on scene node modifier initialization. | |
virtual PLS_API void | OnActivate (bool bActivate) |
Called when the scene node modifier has been activated or deactivated. | |
PLS_API | SceneNodeModifier (SceneNode &cSceneNode) |
Constructor. | |
virtual PLS_API | ~SceneNodeModifier () |
Destructor. |
Abstract scene node modifier (other name: controller) class.
Scene node modifier flags.
Reimplemented in PLEngine::SNMPhysicsCharacterController, PLPhysics::SNMPhysicsJoint, PLEngine::SNMPhysicsCharacter, PLScene::SNMPositionKeyframeAnimation, PLScene::SNMMeshJoint, PLScene::SNMRotationKeyframeAnimation, PLScene::SNMScaleKeyframeAnimation, PLPhysics::SNMPhysicsBody, PLEngine::SNMLookController, PLScene::SNMDrawRectangle, PLSound::SNMSound, PLScene::SNMMeshUpdate, PLScene::SNMAnchor, and PLScene::SNMLightRandomAnimation.
PLS_API PLScene::SceneNodeModifier::SceneNodeModifier | ( | SceneNode & | cSceneNode | ) | [protected] |
Constructor.
[in] | cSceneNode | Owner scene node |
virtual PLS_API PLScene::SceneNodeModifier::~SceneNodeModifier | ( | ) | [protected, virtual] |
Destructor.
This scene renderer pass is currently NOT active PLScene::SceneNodeModifier::pl_enum_value | ( | Automatic | , |
"This scene node modifier was created automatically during runtime and should not be saved with the scene. Such scene nodes modifiers may also be hidden for instance within a scene editor." | |||
) |
This scene renderer pass is currently NOT active Abstract scene node PLScene::SceneNodeModifier::modifier | ( | other name:controller | ) |
This scene renderer pass is currently NOT active Abstract scene node PLScene::SceneNode pl_properties_end pl_attribute (Flags, pl_flag_type(EFlags), 0, ReadWrite, GetSet, "Flags", "") pl_class_end public virtual PLS_API void PLScene::SceneNodeModifier::SetFlags | ( | PLCore::uint32 | nValue | ) | [virtual] |
Reimplemented in PLSound::SNMSound, PLPhysics::SNMPhysicsBody, and PLPhysics::SNMPhysicsJoint.
SceneNode & PLScene::SceneNodeModifier::GetSceneNode | ( | ) | const [inline] |
Returns the owner scene node.
int PLScene::SceneNodeModifier::GetSceneNodeIndex | ( | ) | [inline] |
Returns the index of this scene node modifier within the scene node modifier list of the owner scene node.
Returns the index of the given modifier.
PLS_API SceneNodeModifier* PLScene::SceneNodeModifier::Clone | ( | ) |
Creates a clone of this scene node modifier within the owner scene node.
PLS_API SceneNodeModifier* PLScene::SceneNodeModifier::CloneAtIndex | ( | int | nPosition | ) |
Creates a clone of this scene node modifier within the owner scene node at a certain index inside the scene node modifier list.
[in] | nPosition | Index position specifying the location within the scene node modifier list where the scene node modifier should be added, <0 for at the end |
SceneContext * PLScene::SceneNodeModifier::GetSceneContext | ( | ) | const [inline] |
Returns the scene context the owner scene node is in.
PLS_API PLCore::String PLScene::SceneNodeModifier::GetSceneNodeClass | ( | ) | const |
Returns the scene node class this modifier operates on.
PLS_API PLCore::String PLScene::SceneNodeModifier::GetAbsoluteName | ( | ) | const |
Returns an unique absolute name for the scene node modifier.
bool PLScene::SceneNodeModifier::IsActive | ( | ) | const [inline] |
Is the scene node modifier active?
PLS_API void PLScene::SceneNodeModifier::SetActive | ( | bool | bActive = true | ) |
Sets whether the scene node modifier is active or not.
[in] | bActive | Should the scene node modifier be active? |
virtual PLS_API PLInput::Controller* PLScene::SceneNodeModifier::GetInputController | ( | ) | const [virtual] |
Get input controller.
Reimplemented in PLEngine::SNMPhysicsCharacterController, PLEngine::SNMLookController, PLEngine::SNMCameraZoomController, and PLEngine::SNMOrbitingController.
virtual PLS_API void PLScene::SceneNodeModifier::InformedOnInit | ( | ) | [protected, virtual] |
Informed on scene node modifier initialization.
Reimplemented in PLPhysics::SNMPhysicsBody, PLPhysics::SNMPhysicsJoint, PLEngine::SNMPhysicsCharacterController, PLEngine::SNMLookController, PLEngine::SNMCameraZoomController, and PLEngine::SNMOrbitingController.
virtual PLS_API void PLScene::SceneNodeModifier::OnActivate | ( | bool | bActivate | ) | [protected, virtual] |
Called when the scene node modifier has been activated or deactivated.
[in] | bActivate | 'true' if the scene node modifier is now active, else 'false' |
Reimplemented in PLEngine::SNMPhysicsCharacter, PLPhysics::SNMPhysicsBody, PLScene::SNMPositionPath, PLSound::SNMSound, PLScene::SNMTransformGizmo, PLScene::SNMPositionKeyframeAnimation, PLScene::SNMRotationKeyframeAnimation, PLScene::SNMScaleKeyframeAnimation, PLScene::SNMMeshJoint, PLEngine::SNMPhysicsCharacterController, PLScene::SNMAnchor, PLEngine::SNMLookController, PLScene::SNMLightRandomAnimation, PLScene::SNMDrawRectangle, PLScene::SNMPositionLinearAnimation, PLEngine::SNMCameraZoomController, PLScene::SNMMeshUpdate, PLEngine::SNMOrbitingController, PLScene::SNMMeshMorph, PLScene::SNMRotationTarget, PLScene::SNMBillboardSpherical, PLPhysics::SNMPhysicsUpdateVelocity, PLScene::SNMBillboardCylindrical, PLScene::SNMDeactivationOnTimeout, PLEngine::SNMEgoOrbitingController, PLScene::SNMMeshMorphBlink, PLScene::SNMCameraZoom, PLScene::SNMMeshMorphCameraNear, PLScene::SNMRotationFixRoll, PLEngine::SNMEgoLookController, PLScene::SNMPositionRandomAnimation, PLScene::SNMRotationMoveDirection, PLScene::SNMScaleRandomAnimation, PLScene::SNMPositionMoveToTarget, PLScene::SNMRotationLinearAnimation, PLPhysics::SNMPhysicsForce, and PLPhysics::SNMPhysicsTorque.
This scene renderer pass is currently NOT active PLScene::SceneNodeModifier::SceneNodeModifier |
This scene renderer pass is currently NOT active PLScene::SceneNodeModifier::PLScene |
Reimplemented in PLScene::SNMPositionLinearAnimation.
|