HUDスクロールバーユニットクラス More...
#include <GxUnitHudScrollbar.h>


Public Member Functions | |
初期化 | |
| GxUnitHudScrollbar (void) | |
| デフォルトコンストラクタ | |
| b32 | setup (void) override |
| セットアップ | |
アクセサ | |
| constexpr GxUnitHudScrollbarHundle * | getUnitHundle (void) const |
| ハンドルユニットを取得 | |
| constexpr GxUnitHudScrollView::LAYOUT_AXIS | getLayoutAxis (void) const |
| レイアウト軸を取得 | |
| constexpr void | setLayoutAxis (GxUnitHudScrollView::LAYOUT_AXIS axis) |
| レイアウト軸を設定 | |
Public Member Functions inherited from GxUnitHudImage | |
| GxUnitHudImage (void) | |
| デフォルトコンストラクタ | |
| GX_FORCE_INLINE const GxVector2 & | getUVLeftTop (void) const |
| 左上UVを取得 | |
| GX_FORCE_INLINE void | setUVLeftTop (const GxVector2 &uv) |
| 左上UVを設定 | |
| GX_FORCE_INLINE const GxVector2 & | getUVRightBottom (void) const |
| 右下UVを取得 | |
| GX_FORCE_INLINE void | setUVRightBottom (const GxVector2 &uv) |
| 右下UVを設定 | |
| GX_FORCE_INLINE b32 | getInverseAlpha (void) const |
| アルファ抜き反転を取得 | |
| GX_FORCE_INLINE void | setInverseAlpha (b32 flag) |
| アルファ抜き反転を設定 | |
Public Member Functions inherited from GxUnit2DImageBase | |
| GxUnit2DImageBase (void) | |
| デフォルトコンストラクタ | |
| void | cleanup (void) override |
| 解放処理 | |
| constexpr GxResTexture * | getTextureResource (void) const |
| テクスチャリソースを取得 | |
| virtual b32 | setTextureResource (GxResTexture *pResTexture) |
| テクスチャリソースを設定 | |
| GX_FORCE_INLINE void | getTextureResourceProperty (void *const pValue) |
| テクスチャリソース取得(プロパティ用) | |
| GX_FORCE_INLINE void | setTextureResourceProperty (const void *const pValue) |
| テクスチャリソース設定(プロパティ用) | |
| GX_FORCE_INLINE GxRenderSamplerState | getSamplerState (void) const |
| サンプラステートを取得 | |
| GX_FORCE_INLINE void | setSamplerState (GxRenderSamplerState state) |
| サンプラステートを設定 | |
| void | adjustSize (void) |
| サイズ調整 | |
Public Member Functions inherited from GxUnit2DBase | |
| GxUnit2DBase (void) | |
| コンストラクタ | |
| GX_FORCE_INLINE const GxSize & | getSize (void) const |
| 描画サイズを取得 | |
| GX_FORCE_INLINE void | setSize (const GxSize &size) |
| 描画サイズを設定 | |
| GX_FORCE_INLINE const GxRectF & | getRect (void) const |
| 描画矩形を取得 | |
| GX_FORCE_INLINE const GxMatrixAffine & | getWorldMatrix (void) const |
| ワールド行列を取得 | |
| GX_FORCE_INLINE const GxVector2 & | getPivot (void) const |
| 矩形の中心位置を取得 | |
| GX_FORCE_INLINE void | setPivot (const GxVector2 &pivot) |
| 矩形の中心位置を設定 | |
| GX_FORCE_INLINE void | setPivot (LAYOUT layout) |
| 矩形の中心位置を設定 | |
| GX_FORCE_INLINE const GxVector2 & | getAnchor (void) const |
| 親の基準位置を取得 | |
| GX_FORCE_INLINE void | setAnchor (const GxVector2 &anchor) |
| 親の基準位置を設定 | |
| GX_FORCE_INLINE void | setAnchor (LAYOUT layout) |
| 親の基準位置を設定 | |
| GX_FORCE_INLINE const GxVector2 | getPosition (void) const |
| 座標を取得 | |
| GX_FORCE_INLINE const GxVector2 & | getLocalPosition (void) const |
| ローカル座標を取得 | |
| GX_FORCE_INLINE void | setLocalPosition (const GxVector2 &position) |
| ローカル座標を設定 | |
| GX_FORCE_INLINE f32 | getRotate (void) const |
| 回転を取得 | |
| constexpr const f32 | getLocalRotate (void) const |
| ローカル回転を取得 | |
| constexpr void | setLocalRotate (f32 rotate) |
| ローカル回転を設定 | |
| GX_FORCE_INLINE const GxVector2 | getScale (void) const |
| スケールを取得 | |
| GX_FORCE_INLINE const GxVector2 & | getLocalScale (void) const |
| ローカルスケールを取得 | |
| GX_FORCE_INLINE void | setLocalScale (const GxVector2 &scale) |
| ローカルスケールを設定 | |
| GX_FORCE_INLINE const GxColorHDR & | getColor (void) const |
| カラーを取得 | |
| GX_FORCE_INLINE void | setColor (GxColorHDR color) |
| カラーを設定 | |
| constexpr void | setColorA (f32 alpha) |
| カラーαを設定 | |
| constexpr BLEND_TYPE | getBlendType (void) const |
| ブレンドタイプを取得 | |
| constexpr void | setBlendType (BLEND_TYPE type) |
| ブレンドタイプを設定 | |
| GX_FORCE_INLINE const b32 | isUseMask (void) const |
| マスク使用判定を取得 | |
| GX_FORCE_INLINE void | setUseMask (b32 use) |
| マスク使用判定を設定 | |
| constexpr const f32 | getPriority (void) const |
| 描画プライオリティを取得 | |
| constexpr const f32 | getOffsetChildPriority (void) const |
| 子供の描画プライオリティ補正値を取得 | |
| constexpr void | setOffsetChildPriority (f32 priority) |
| 子供の描画プライオリティ補正値を設定 | |
| constexpr void | setProjectionMatrixId (u32 projectionId) |
| 射影行列インデックスを設定 | |
| constexpr u32 | getProjectionMatrixId (void) const |
| 射影行列インデックスを取得 | |
| void | updateWorldMatrix (void) |
| ワールドマトリクスを更新 | |
| b32 | isIncluding (const GxPoint2 &mousePosition) const |
| マウス座標を内包しているか | |
Public Member Functions inherited from GxUnitBase | |
| GxUnitBase (void) | |
| コンストラクタ | |
| void | cleanup (void) override |
| 解放処理 | |
| constexpr f32 | getDeltaTimeFactor (void) const |
| デルタタイム係数を取得 | |
| constexpr void | setDeltaTimeFactor (f32 deltaTimeFactor) |
| デルタタイム係数を設定 | |
| constexpr f32 | getDeltaTime (void) const |
| デルタタイムを取得 | |
| constexpr void | setDeltaTime (f32 deltaTime) |
| デルタタイムを設定 | |
| constexpr f32 | getDeltaTimeRatio (void) const |
| デルタタイムレート(通常のフレームレートの何倍か)を取得 | |
| constexpr void | setDeltaTimeRatio (f32 deltaTimeRatio) |
| デルタタイムレート(通常のフレームレートの何倍か)を設定 | |
| constexpr STATE | getState (void) const |
| 状態を取得 | |
| constexpr void | setState (STATE state) |
| 状態を設定(ユーザーは使用してはならない内部使用) | |
| GX_FORCE_INLINE b32 | isEnable (void) const |
| 有効か判定 | |
| constexpr u32 | getAttribute (void) const |
| 属性を取得 | |
| GX_FORCE_INLINE b32 | isAttribute (ATTRIBUTE attribute) const |
| 属性を判定 | |
| GX_FORCE_INLINE void | setAttribute (ATTRIBUTE attribute, b32 enable) |
| 属性を設定 | |
| GX_FORCE_INLINE b32 | isRender (void) const |
| 描画フラグ判定 | |
| void | setRender (b32 enable, b32 withChildren=false) |
| 描画フラグを設定 | |
| GX_FORCE_INLINE GxFlag32Index< RENDER_VIEW > | getRenderViewFlag (void) const |
| 描画するビューフラグを取得 | |
| GX_FORCE_INLINE b32 | isRenderView (RENDER_VIEW view) const |
| 描画するビューを判定 | |
| GX_FORCE_INLINE void | setRenderView (RENDER_VIEW view, b32 enable) |
| 描画するビューを設定 | |
| GX_FORCE_INLINE b32 | isRenderSubView (RENDER_SUB_VIEW subView) const |
| 描画するサブビューを判定 | |
| GX_FORCE_INLINE void | setRenderSubView (RENDER_SUB_VIEW subView, b32 enable) |
| 描画するサブビューを設定 | |
| GX_FORCE_INLINE b32 | isUpdateEnable (UPDATE_TYPE updateType) const |
| 更新を呼ぶかを判定 | |
| GX_FORCE_INLINE void | setUpdateEnable (UPDATE_TYPE updateType, b32 enable) |
| 更新を呼ぶかを設定 | |
| GX_FORCE_INLINE void | getPropertyAttributeUpdate (void *const pValue) |
| プロパティ用:更新処理の属性を取得 | |
| GX_FORCE_INLINE void | setPropertyAttributeUpdate (const void *const pValue) |
| プロパティ用:更新処理の属性を設定 | |
| template<typename T > | |
| T * | getModule (void) const |
| モジュールを取得 | |
| constexpr u32 | getChildCount (void) const |
| 子ユニット数を取得 | |
| constexpr GxUnitBase * | getChild (u32 index) const |
| 子ユニットを取得 | |
| constexpr GxUnitBase * | getParent (void) const |
| 親ユニットを取得 | |
| void | setParent (GxUnitBase *pParent) |
| 親ユニットを設定 | |
| constexpr GxResUnitInstance * | getResUnitInstance (void) const |
| ユニットインスタンスリソースを取得 | |
| void | setResUnitInstance (GxResUnitInstance *pResUnitInstance) |
| ユニットインスタンスリソースを設定 | |
| constexpr void | getPropertyResUnitInstance (void *const pValue) |
| ユニットインスタンスリソースプロパティの取得 | |
| void | setPropertyResUnitInstance (const void *const pValue) |
| ユニットインスタンスリソースプロパティの設定 | |
| GX_FORCE_INLINE const GxTypedObject * | getDefaultObject (void) override |
| デフォルトオブジェクトを取得 | |
| constexpr GxUnitBase * | getDefaultUnit (void) const |
| デフォルトユニットを取得 | |
| void | setDefaultUnit (GxUnitBase *pDefaultUnit) |
| デフォルトユニットを設定 | |
| void | sleep (f32 time) |
| スリープ(スクリプト用) | |
| template<typename T > | |
| T * | createAndAddChild (u32 listProcessNumber=U32_MAX, u32 listKindNumber=U32_MAX, b32 isSerialize=false, const GxRtti *pRtti=nullptr) |
| 子ユニットを追加作成 | |
| virtual void | kill (void) |
| 消去リクエスト | |
Public Member Functions inherited from GxClassBaseReference | |
| GxClassBaseReference (void) | |
| コンストラクタ | |
| GxClassBaseReference (const GxClassBaseReference &base) | |
| コピーコンストラクタ | |
| ~GxClassBaseReference (void) override | |
| デストラクタ | |
| constexpr GxClassBaseReference & | operator= (const GxClassBaseReference &base) |
| 代入演算子 | |
| virtual s32 | addReference (void) |
| 参照カウンタを加算 | |
| virtual s32 | release (void) |
| 解放 | |
| virtual s32 | getReferenceCount (void) const |
| 参照カウンタを取得 | |
| constexpr void | setDelayReleaseCount (s32 count) |
| 遅延解放カウンタを設定 | |
| void | setDelayReleaseCountInfinity (b32 on) |
| 無限解放待ちの設定 | |
Public Member Functions inherited from GxClassBaseRoot | |
| constexpr | GxClassBaseRoot (void) |
| コンストラクタ | |
| constexpr | GxClassBaseRoot (const GxClassBaseRoot &) |
| コピーコンストラクタ | |
| virtual | ~GxClassBaseRoot (void) |
| デストラクタ | |
| constexpr GxClassBaseRoot & | operator= (const GxClassBaseRoot &) |
| 代入演算子 | |
| virtual GxRtti & | getRtti (void) const =0 |
| Rttiの取得 | |
| GX_FORCE_INLINE b32 | isDefaultObject (void) |
| デフォルトオブジェクト判定 | |
Protected Member Functions | |
操作 | |
| void | asyncUpdate (void) override |
| 非同期更新 | |
| void | forceAsyncUpdate (void) override |
| 強制並列更新(pause中も実行) | |
| void | autoAdjust (void) |
| 自動調整 | |
Protected Member Functions inherited from GxUnitHudImage | |
| void | renderPrimitive (const GxRectF &rect, f32 posZ, f32 z, const GxPrimitiveMaterial &material, const GxVector2 &rotateCenter) override |
| プリミティブ描画 | |
Protected Member Functions inherited from GxUnit2DImageBase | |
| void | setMaterial (GxPrimitiveMaterial &material) const override |
| マテリアル設定 | |
Protected Member Functions inherited from GxUnit2DBase | |
| void | preAsyncUpdate (void) override |
| 並列更新(asyncUpdateの前に実行される) | |
| void | render (void) override |
| 描画 | |
| virtual b32 | makeMaterial (GxPrimitiveMaterial &material, f32 &zWritePosition) const |
| マテリアル作成 | |
Protected Member Functions inherited from GxUnitBase | |
| virtual void | postAsyncUpdate (void) |
| 並列更新(asyncUpdateの後に実行される) | |
| virtual void | sequentialUpdate (void) |
| 逐次更新 | |
| virtual b32 | setRenderMaterial (GxRenderMaterial *pMaterial, const GxResModel::GxMeshGroup *pMeshGroup) |
| マテリアルの描画設定 | |
| template<typename T > | |
| T * | addModule (void) |
| モジュールを作成 | |
| template<typename T > | |
| void | removeModule (void) |
| モジュールを削除 | |
Protected Attributes | |
メンバ変数 | |
| GxUnitHudScrollbarHundle * | _pUnitHundle |
| ハンドルユニット | |
| GxUnitHudScrollView::LAYOUT_AXIS | _layoutAxis |
| レイアウト軸 | |
Protected Attributes inherited from GxUnitHudImage | |
| GxVector2 | _uvLeftTop |
| 左上UV | |
| GxVector2 | _uvRightBottom |
| 右下UV | |
| b32 | _inverseAlpha |
| アルファ抜き反転 | |
Protected Attributes inherited from GxUnit2DImageBase | |
| GxResTexture * | _pResTexture |
| テクスチャリソース | |
| GxRenderSamplerState | _samplerState |
| サンプラステート | |
Protected Attributes inherited from GxUnit2DBase | |
| GxMatrixAffine | _worldMatrix |
| ワールド行列 | |
| GxRectF | _rect |
| 描画矩形 | |
| GxColorHDR | _color |
| 色 | |
| GxSize | _size |
| 描画サイズ | |
| GxVector2 | _pivot |
| 矩形の中心位置 | |
| GxVector2 | _anchor |
| 親の基準位置 | |
| GxVector2 | _position |
| 座標 | |
| GxVector2 | _scale |
| スケール | |
| f32 | _rotate |
| 回転 | |
| f32 | _priority |
| 描画プライオリティ(0~1) | |
| f32 | _offsetChildPriority |
| 子供の描画プライオリティ補正値 | |
| BLEND_TYPE | _blendType |
| ブレンドタイプ | |
| u32 | _projectionMatrixId |
| 射影行列ID | |
| u8 | _rootPriority |
| ルートプライオリティ(0~255) | |
| b32 | _useMask |
| マスク使用判定 | |
| b32 | _updatedWorldMatrix |
| ワールドマトリクス更新済みフラグ | |
Protected Attributes inherited from GxClassBaseReference | |
| s32 | _referenceCount |
| 参照カウンタ | |
| s32 | _delayReleaseCount |
| 遅延解放カウンタ | |
Additional Inherited Members | |
Public Types inherited from GxUnit2DBase | |
| enum class | LAYOUT { LEFT_TOP = 0 , LEFT_MIDDLE , LEFT_BOTTOM , MIDDLE_TOP , MIDDLE_MIDDLE , MIDDLE_BOTTOM , RIGHT_TOP , RIGHT_MIDDLE , RIGHT_BOTTOM , MAX } |
| 配置定義 More... | |
| enum class | BLEND_TYPE { NONE = 0 , ADD , COLOR_ADD , SUB , COLOR_SUB , COLOR_MULTI , COLOR_SCREEN , OPAQUE_ , MAX } |
| ブレンドタイプ More... | |
Public Types inherited from GxUnitBase | |
| enum class | STATE { SETUP , RUNNING , DELETE_ } |
| 状態 More... | |
| enum | ATTRIBUTE { ATTRIBUTE_UPDATE = (1 << 0) , ATTRIBUTE_SELECTED = (1 << 1) , ATTRIBUTE_LOCK = (1 << 2) , ATTRIBUTE_SLOW = (1 << 3) , ATTRIBUTE_NOSERIALIZE = (1 << 4) } |
| 属性 More... | |
Static Public Member Functions inherited from GxClassBaseReference | |
| static void | initializeDelayRelease (void) |
| 遅延解放リストの初期化 | |
| static void | terminateDelayRelease (void) |
| 遅延解放リストの終了 | |
| static void | updateDelayRelease (void) |
| 遅延解放リストの更新 | |
| static b32 | isDelayReleaseEnable (void) |
| 遅延解放システムの有効判定 | |
| static u32 | getDelayReleaseListCount (void) |
| 遅延解放待ちの数を取得 | |
Static Public Member Functions inherited from GxClassBaseRoot | |
| static GX_FORCE_INLINE GxRtti & | __getStaticRtti (void) |
| Rttiの取得 | |
Static Public Attributes inherited from GxUnit2DBase | |
| static const GxVector2 | LAYOUTS [static_cast< u32 >(LAYOUT::MAX)] |
| 配置座標テーブル | |
| static const GxSize | DEFAULT_SIZE = GxSize(100, 100) |
| デフォルトサイズ | |
Static Public Attributes inherited from GxClassBaseReference | |
| static constexpr s32 | DELAY_RELEASE_COUNT_INFINITY = -1 |
| 遅延解放の無限待ち定義 | |
HUDスクロールバーユニットクラス
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
overridevirtual |