OROCHI
 
Loading...
Searching...
No Matches
GxCurvePlay Class Reference

カーブ再生クラス More...

#include <GxModUnitCurvePlay.h>

Inheritance diagram for GxCurvePlay:
Collaboration diagram for GxCurvePlay:

Public Types

定義
enum class  PLAY_STATE { PLAY , STOP , PAUSE , MAX }
 再生状態 More...
 
enum class  LOOP_TYPE { NONE , YOYO , RESTART , MAX }
 ループ More...
 

Public Member Functions

初期化
 GxCurvePlay (void)
 デフォルトコンストラクタ
 
 ~GxCurvePlay (void) override
 デストラクタ
 
アクセサ
GX_FORCE_INLINE b32 isPlayState (PLAY_STATE state) const
 再生状態判定
 
GX_FORCE_INLINE const GxCurvegetCurve (void) const
 カーブクラス取得
 
constexpr void setOwner (GxTypedObject *pOwner)
 オーナー設定
 
constexpr LOOP_TYPE getLoopType (void) const
 ループ種類取得
 
constexpr void setLoopType (const LOOP_TYPE loopType)
 ループ種類設定
 
constexpr f32 getDelay (void) const
 待ち時間取得
 
constexpr void setDelay (const f32 delay)
 待ち時間設定
 
- Public Member Functions inherited from GxClassBase
constexpr GxClassBase (void)
 コンストラクタ
 
constexpr GxClassBase (const GxClassBase &base)
 コピーコンストラクタ
 
 ~GxClassBase (void) override
 デストラクタ
 
- Public Member Functions inherited from GxClassBaseRoot
constexpr GxClassBaseRoot (void)
 コンストラクタ
 
constexpr GxClassBaseRoot (const GxClassBaseRoot &)
 コピーコンストラクタ
 
virtual ~GxClassBaseRoot (void)
 デストラクタ
 
constexpr GxClassBaseRootoperator= (const GxClassBaseRoot &)
 代入演算子
 
virtual GxRttigetRtti (void) const =0
 Rttiの取得
 
virtual GX_FORCE_INLINE const GxTypedObjectgetDefaultObject (void)
 デフォルトオブジェクトを取得
 
GX_FORCE_INLINE b32 isDefaultObject (void)
 デフォルトオブジェクト判定
 

操作

void setPlayF32 (GxTypedObject *pOwner, GxProperty *pProperty, f32 endValue, f32 duration, f32 delay=0.f, b32 isAutoPlay=true, LOOP_TYPE loopType=LOOP_TYPE::NONE)
 再生設定
 
void setPlayVector2 (GxTypedObject *pOwner, GxProperty *pProperty, const GxVector2 &endValue, f32 duration, f32 delay=0.f, b32 isAutoPlay=true, LOOP_TYPE loopType=LOOP_TYPE::NONE)
 再生設定
 
void setPlayVector3 (GxTypedObject *pOwner, GxProperty *pProperty, const GxVector3 &endValue, f32 duration, f32 delay=0.f, b32 isAutoPlay=true, LOOP_TYPE loopType=LOOP_TYPE::NONE)
 再生設定
 
void setPlayVector4 (GxTypedObject *pOwner, GxProperty *pProperty, const GxVector4 &endValue, f32 duration, f32 delay=0.f, b32 isAutoPlay=true, LOOP_TYPE loopType=LOOP_TYPE::NONE)
 再生設定
 
void setPlayColor (GxTypedObject *pOwner, GxProperty *pProperty, const GxColor &endValue, f32 duration, f32 delay=0.f, b32 isAutoPlay=true, LOOP_TYPE loopType=LOOP_TYPE::NONE)
 再生設定
 
void setPlayColorHDR (GxTypedObject *pOwner, GxProperty *pProperty, const GxColorHDR &endValue, f32 duration, f32 delay=0.f, b32 isAutoPlay=true, LOOP_TYPE loopType=LOOP_TYPE::NONE)
 再生設定
 
void update (f32 deltaTime)
 更新
 
void play (b32 isReverse=false)
 再生
 
void playDurationRate (b32 isReverse, f32 durationRate)
 再生
 
void stop (void)
 停止
 
void pause (void)
 一時停止
 

Additional Inherited Members

- Static Public Member Functions inherited from GxClassBaseRoot
static GX_FORCE_INLINE GxRtti__getStaticRtti (void)
 Rttiの取得
 

Detailed Description

カーブ再生クラス

Member Enumeration Documentation

◆ LOOP_TYPE

enum class GxCurvePlay::LOOP_TYPE
strong

ループ

Enumerator
NONE 

なし

YOYO 

始点に戻る

RESTART 

始点から再生

MAX 

定義数

◆ PLAY_STATE

enum class GxCurvePlay::PLAY_STATE
strong

再生状態

Enumerator
PLAY 

再生

STOP 

停止

PAUSE 

一時停止

MAX 

定義数

Member Function Documentation

◆ play()

void GxCurvePlay::play ( b32 isReverse = false)

再生

Parameters
isReverse[in] 逆再生判定
Here is the caller graph for this function:

◆ playDurationRate()

void GxCurvePlay::playDurationRate ( b32 isReverse,
f32 durationRate )

再生

Parameters
isReverse[in] 逆再生判定
durationRate[in] 時間割合(0~1)
Here is the call graph for this function:

◆ setPlayColor()

void GxCurvePlay::setPlayColor ( GxTypedObject * pOwner,
GxProperty * pProperty,
const GxColor & endValue,
f32 duration,
f32 delay = 0.f,
b32 isAutoPlay = true,
LOOP_TYPE loopType = LOOP_TYPE::NONE )

再生設定

Parameters
pOwner[in] オーナー
pProperty[in] 対象プロパティ
endValue[in] 終了値
duration[in] 処理時間
delay[in] 遅延時間
isAutoPlay[in] 自動再生判定
loopType[in] ループ種類
Here is the call graph for this function:

◆ setPlayColorHDR()

void GxCurvePlay::setPlayColorHDR ( GxTypedObject * pOwner,
GxProperty * pProperty,
const GxColorHDR & endValue,
f32 duration,
f32 delay = 0.f,
b32 isAutoPlay = true,
LOOP_TYPE loopType = LOOP_TYPE::NONE )

再生設定

Parameters
pOwner[in] オーナー
pProperty[in] 対象プロパティ
endValue[in] 終了値
duration[in] 処理時間
delay[in] 遅延時間
isAutoPlay[in] 自動再生判定
loopType[in] ループ種類
Here is the call graph for this function:

◆ setPlayF32()

void GxCurvePlay::setPlayF32 ( GxTypedObject * pOwner,
GxProperty * pProperty,
f32 endValue,
f32 duration,
f32 delay = 0.f,
b32 isAutoPlay = true,
LOOP_TYPE loopType = LOOP_TYPE::NONE )

再生設定

Parameters
pOwner[in] オーナー
pProperty[in] 対象プロパティ
endValue[in] 終了値
duration[in] 処理時間
delay[in] 遅延時間
isAutoPlay[in] 自動再生判定
loopType[in] ループ種類
Here is the call graph for this function:

◆ setPlayVector2()

void GxCurvePlay::setPlayVector2 ( GxTypedObject * pOwner,
GxProperty * pProperty,
const GxVector2 & endValue,
f32 duration,
f32 delay = 0.f,
b32 isAutoPlay = true,
LOOP_TYPE loopType = LOOP_TYPE::NONE )

再生設定

Parameters
pOwner[in] オーナー
pProperty[in] 対象プロパティ
endValue[in] 終了値
duration[in] 処理時間
delay[in] 遅延時間
isAutoPlay[in] 自動再生判定
loopType[in] ループ種類
Here is the call graph for this function:

◆ setPlayVector3()

void GxCurvePlay::setPlayVector3 ( GxTypedObject * pOwner,
GxProperty * pProperty,
const GxVector3 & endValue,
f32 duration,
f32 delay = 0.f,
b32 isAutoPlay = true,
LOOP_TYPE loopType = LOOP_TYPE::NONE )

再生設定

Parameters
pOwner[in] オーナー
pProperty[in] 対象プロパティ
endValue[in] 終了値
duration[in] 処理時間
delay[in] 遅延時間
isAutoPlay[in] 自動再生判定
loopType[in] ループ種類
Here is the call graph for this function:

◆ setPlayVector4()

void GxCurvePlay::setPlayVector4 ( GxTypedObject * pOwner,
GxProperty * pProperty,
const GxVector4 & endValue,
f32 duration,
f32 delay = 0.f,
b32 isAutoPlay = true,
LOOP_TYPE loopType = LOOP_TYPE::NONE )

再生設定

Parameters
pOwner[in] オーナー
pProperty[in] 対象プロパティ
endValue[in] 終了値
duration[in] 処理時間
delay[in] 遅延時間
isAutoPlay[in] 自動再生判定
loopType[in] ループ種類
Here is the call graph for this function:

◆ update()

void GxCurvePlay::update ( f32 deltaTime)

更新

Parameters
deltaTime[in] 経過時間
Here is the call graph for this function:
Here is the caller graph for this function:

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