Kanzi  3.9.7
Kanzi Engine API
kanzi::SceneGraphTimelinePlaybackContext Class Reference

Helper class to resolve objects for animation timelines. More...

#include <kanzi/core.ui/animation/scenegraph_timeline_playback_context.hpp>

Inheritance diagram for kanzi::SceneGraphTimelinePlaybackContext:
[legend]

Public Member Functions

NodegetNode ()
 Gets the node this Scene Graph Timeline Playback Context is referring to. More...
 
 SceneGraphTimelinePlaybackContext (Node &node)
 Constructor. More...
 
- Public Member Functions inherited from kanzi::TimelinePlaybackContext
bool isRelativePlayback ()
 Returns the state of the playback. More...
 
virtual shared_ptr< ObjectlookupObject (string_view path)
 Looks up for an object from a node's path. More...
 
void setRelativePlayback (bool isRelative)
 Sets the state of the playback. More...
 
 TimelinePlaybackContext ()
 Constructor. More...
 
virtual ~TimelinePlaybackContext ()
 Destructor. More...
 

Protected Member Functions

shared_ptr< ObjectlookupObjectOverride (string_view path) override
 The override of TimelinePlaybackContext::lookupObjectOverride(). More...
 

Detailed Description

Helper class to resolve objects for animation timelines.

Constructor & Destructor Documentation

kanzi::SceneGraphTimelinePlaybackContext::SceneGraphTimelinePlaybackContext ( Node node)
inlineexplicit

Constructor.

Parameters
nodeNode this Timeline Playback Context is going to refer.

Member Function Documentation

Node& kanzi::SceneGraphTimelinePlaybackContext::getNode ( )
inline

Gets the node this Scene Graph Timeline Playback Context is referring to.

Returns
Reference to the node.
shared_ptr<Object> kanzi::SceneGraphTimelinePlaybackContext::lookupObjectOverride ( string_view  path)
inlineoverrideprotectedvirtual

The override of TimelinePlaybackContext::lookupObjectOverride().

Looks up for an object from a node.

Parameters
pathRelative path to use for lookup.
Returns
Pointer to the object, or empty if the object is not found.

Implements kanzi::TimelinePlaybackContext.


The documentation for this class was generated from the following file: