HDK
|
Mapper class for conversion between clip and scene time (in seconds) More...
#include <GU_MotionClipUtil.h>
Public Member Functions | |
void | reset () |
Reset to the default scene's global range, unclamped. More... | |
void | trimRange (fpreal start, fpreal end) |
Trim the current range to the given (assumes we have valid range) More... | |
bool | hasInvalidRange () const |
Returns true when we have both start/end and start > end. More... | |
fpreal | toSceneSeconds (fpreal clip_seconds) const |
Convert from clip time to scene time. More... | |
fpreal | toClipSeconds (fpreal scene_seconds) const |
Convert from scene time to clip time. More... | |
fpreal | clampClipSeconds (fpreal clip_seconds) const |
Clamp clip time depending to available clip range. More... | |
fpreal | start () const |
void | setStart (fpreal v, bool clamp=true) |
void | setClampedStart (fpreal v, bool clamp=true) |
This variant will first clamp v to existing parameters. More... | |
fpreal | end () const |
void | setEnd (fpreal v, bool clamp=true) |
void | setClampedEnd (fpreal v, bool clamp=true) |
This variant will first clamp v to existing parameters. More... | |
fpreal | playbackStart () const |
void | setPlaybackStart (fpreal v) |
fpreal | speed () const |
void | setSpeed (fpreal v) |
Mapper class for conversion between clip and scene time (in seconds)
Definition at line 57 of file GU_MotionClipUtil.h.
Clamp clip time depending to available clip range.
Definition at line 343 of file GU_MotionClipUtil.h.
End time to clamp to in clip seconds
Definition at line 77 of file GU_MotionClipUtil.h.
|
inline |
Returns true when we have both start/end and start > end.
Definition at line 90 of file GU_MotionClipUtil.h.
|
inline |
Playback start time in scene seconds
Definition at line 94 of file GU_MotionClipUtil.h.
|
inline |
Reset to the default scene's global range, unclamped.
Definition at line 62 of file GU_MotionClipUtil.h.
This variant will first clamp v to existing parameters.
Definition at line 82 of file GU_MotionClipUtil.h.
This variant will first clamp v to existing parameters.
Definition at line 71 of file GU_MotionClipUtil.h.
End time to clamp to in clip seconds
Definition at line 79 of file GU_MotionClipUtil.h.
Playback start time in scene seconds
Definition at line 95 of file GU_MotionClipUtil.h.
Speed at which to playback in the scene
Definition at line 101 of file GU_MotionClipUtil.h.
Start time in clip seconds
Definition at line 68 of file GU_MotionClipUtil.h.
|
inline |
Speed at which to playback in the scene
Definition at line 100 of file GU_MotionClipUtil.h.
|
inline |
Start time in clip seconds
Definition at line 66 of file GU_MotionClipUtil.h.
Convert from scene time to clip time.
Definition at line 361 of file GU_MotionClipUtil.h.
Convert from clip time to scene time.
Definition at line 354 of file GU_MotionClipUtil.h.
Trim the current range to the given (assumes we have valid range)
Definition at line 334 of file GU_MotionClipUtil.h.