Kanzi 3.9.10
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.
 
 SceneGraphTimelinePlaybackContext (Node &node)
 Constructor.
 
- Public Member Functions inherited from kanzi::TimelinePlaybackContext
bool isRelativePlayback ()
 Returns the state of the playback.
 
virtual shared_ptr< ObjectlookupObject (string_view path)
 Looks up for an object from a node's path.
 
void setRelativePlayback (bool isRelative)
 Sets the state of the playback.
 
 TimelinePlaybackContext ()
 Constructor.
 
virtual ~TimelinePlaybackContext ()
 Destructor.
 

Protected Member Functions

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

Detailed Description

Helper class to resolve objects for animation timelines.

Constructor & Destructor Documentation

◆ SceneGraphTimelinePlaybackContext()

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

Constructor.

Parameters
nodeNode this Timeline Playback Context is going to refer.

Member Function Documentation

◆ getNode()

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

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

Returns
Reference to the node.

◆ lookupObjectOverride()

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: