Castor3D 0.16.0
Multiplatform 3D engine
Public Member Functions | Friends | List of all members
castor3d::SceneNodeAnimationKeyFrame Class Reference

#include <SceneNodeAnimationKeyFrame.hpp>

Inheritance diagram for castor3d::SceneNodeAnimationKeyFrame:
Inheritance graph
[legend]
Collaboration diagram for castor3d::SceneNodeAnimationKeyFrame:
Collaboration graph
[legend]

Public Member Functions

C3D_API SceneNodeAnimationKeyFrame (SceneNodeAnimation &parent, castor::Milliseconds const &timeIndex)
 Constructor.
 
castor::Point3f const & getPosition () const
 
castor::Quaternion const & getRotation () const
 
castor::Point3f const & getScale () const
 
void setTransform (castor::Point3f translate, castor::Quaternion rotate, castor::Point3f scale)
 
void setPosition (castor::Point3f value)
 
void setRotation (castor::Quaternion value)
 
void setScale (castor::Point3f value)
 
- Public Member Functions inherited from castor3d::AnimationKeyFrame
 AnimationKeyFrame (castor::Milliseconds const &timeIndex=0_ms)
 Constructor.
 
virtual C3D_API ~AnimationKeyFrame () noexcept=default
 Destructor.
 
virtual C3D_API void initialise ()
 Initialises the keyframe.
 
castor::Milliseconds const & getTimeIndex () const
 
castor::BoundingBox const & getBoundingBox () const
 
- Public Member Functions inherited from castor::OwnedBy< SceneNodeAnimation >
SceneNodeAnimation * getOwner () const
 

Friends

class BinaryParser< SceneNodeAnimationKeyFrame >
 

Additional Inherited Members

- Protected Member Functions inherited from castor::OwnedBy< SceneNodeAnimation >
 OwnedBy (SceneNodeAnimation &owner)
 Constructor.
 
- Protected Attributes inherited from castor3d::AnimationKeyFrame
castor::Milliseconds m_timeIndex
 
castor::BoundingBox m_boundingBox
 

Constructor & Destructor Documentation

◆ SceneNodeAnimationKeyFrame()

C3D_API castor3d::SceneNodeAnimationKeyFrame::SceneNodeAnimationKeyFrame ( SceneNodeAnimation & parent,
castor::Milliseconds const & timeIndex )

Constructor.

Parameters
[in]parentThe parent animation.
[in]timeIndexWhen the key frame starts.

Member Function Documentation

◆ getPosition()

castor::Point3f const & castor3d::SceneNodeAnimationKeyFrame::getPosition ( ) const
inline

◆ getRotation()

castor::Quaternion const & castor3d::SceneNodeAnimationKeyFrame::getRotation ( ) const
inline

◆ getScale()

castor::Point3f const & castor3d::SceneNodeAnimationKeyFrame::getScale ( ) const
inline

◆ setPosition()

void castor3d::SceneNodeAnimationKeyFrame::setPosition ( castor::Point3f value)
inline

◆ setRotation()

void castor3d::SceneNodeAnimationKeyFrame::setRotation ( castor::Quaternion value)
inline

◆ setScale()

void castor3d::SceneNodeAnimationKeyFrame::setScale ( castor::Point3f value)
inline

◆ setTransform()

void castor3d::SceneNodeAnimationKeyFrame::setTransform ( castor::Point3f translate,
castor::Quaternion rotate,
castor::Point3f scale )
inline

Friends And Related Symbol Documentation

◆ BinaryParser< SceneNodeAnimationKeyFrame >

friend class BinaryParser< SceneNodeAnimationKeyFrame >
friend

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