13GX_UTILITY_NAMESPACE_BEGIN()
17class GxSysToolUtility : public GxSysTool
25 GX_RTTI_ABSTRACT_CLASS(GxSysToolUtility, GxSysTool )
36 GxSysToolUtility(
void);
38 ~GxSysToolUtility(
void)
override {}
54 void eventAutoFinalizeFbx(
void);
57 void setDevelopRenderOff(void);
59 void setDevelopRenderNormal(
void);
61 void setDevelopRenderTangent(
void);
63 void setDevelopRenderBinormal(
void);
65 void setDevelopRenderMipmapLevel(
void);
67 void setDevelopRenderDiffuseLighting(
void);
69 void setDevelopRenderSpecularLighting(
void);
71 void setDevelopRenderSsao(
void);
73 void setDevelopRenderHighSpeed(
void);
75 void setDevelopRenderWireFrame(
void);
77 void setDevelopRenderWireFrameNoDepthTest(
void);
80 void setCameraFree(
void );
83 GxString getDefaultBackgroundResource(
void)
override;
85 s32 getDefaultCharacterMotionNo(
void)
override;
88 void draw3DQuadTextureF(
const GxVector3& position0,
const GxVector3& position1,
const GxVector3& position2,
const GxVector3& position3,
const GxColor color,
GxFloat2& uv0,
GxFloat2& uv1,
GxFloat2& uv2,
GxFloat2& uv3,
PRIMITIVE_FILL_MODE fillMode =
PRIMITIVE_FILL_MODE::SOLID,
const GxPrimitiveMaterial& material =
GxPrimitiveMaterial::DEFAULT_3D, u32 viewFlag = 0xFFFFFFFF);
97 GX_FORCE_INLINE
void getFilterEnable(
void*
const pValue) { *
static_cast<b32*
>(
const_cast<void*
>(pValue)) = getGxSysFilterBase()->
isEnable(); }
99 GX_FORCE_INLINE
void setFilterEnable(
const void*
const pValue) { getGxSysFilterBase()->
setEnable(*
static_cast<b32*
>(
const_cast<void*
>(pValue))); }
101 GX_FORCE_INLINE
void getFilterAntialiasEnable(
void*
const pValue) { *
static_cast<b32*
>(
const_cast<void*
>(pValue)) = getGxSysFilterBase()->
isEnableAntialias(); }
103 GX_FORCE_INLINE
void setFilterAntialiasEnable(
const void*
const pValue) { getGxSysFilterBase()->
setEnableAntialias(*
static_cast<b32*
>(
const_cast<void*
>(pValue))); }
105 GX_FORCE_INLINE
void getEffectEnable(
void*
const pValue) { *
static_cast<b32*
>(
const_cast<void*
>(pValue)) = getGxSysEffect()->
isEnable(); }
107 GX_FORCE_INLINE
void setEffectEnable(
const void*
const pValue) { getGxSysEffect()->
setEnableFlag(*
static_cast<b32*
>(
const_cast<void*
>(pValue))); }
109 GX_FORCE_INLINE
void getGlobalIlluminationEnable(
void*
const pValue) { *
static_cast<b32*
>(
const_cast<void*
>(pValue)) = getGxSysLight()->
isEnableGlobalIllumination(); }
111 GX_FORCE_INLINE
void setGlobalIlluminationEnable(
const void*
const pValue) { getGxSysLight()->
setEnableGlobalIllumination(*
static_cast<b32*
>(
const_cast<void*
>(pValue))); }
113 GX_FORCE_INLINE
void getSoundDevelopRender(
void*
const pValue) { *
static_cast<b32*
>(
const_cast<void*
>(pValue)) = getGxSysSoundBase()->isDevelopRender(); }
115 GX_FORCE_INLINE
void setSoundDevelopRender(
const void*
const pValue) { getGxSysSoundBase()->setDevelopRender(*
static_cast<b32*
>(
const_cast<void*
>(pValue))); }
117 GX_FORCE_INLINE
void getDevelopRender(
void*
const pValue) { *
static_cast<b32*
>(
const_cast<void*
>(pValue)) = !isDrawFlag(DRAW_FLAG_INDEX::ALL_OFF); }
119 GX_FORCE_INLINE
void setDevelopRender(
const void*
const pValue) { setDrawFlag(DRAW_FLAG_INDEX::ALL_OFF, !*
static_cast<b32*
>(
const_cast<void*
>(pValue))); }
122 b32 getDevelopRenderLight(GxUnitLightBase::DEVELOP_FLAG flag);
124 void setDevelopRenderLight(GxUnitLightBase::DEVELOP_FLAG flag,
b32 state);
126 void getDevelopRenderLightShowObject(
void*
const pValue);
128 void setDevelopRenderLightShowObject(
const void*
const pValue );
130 void getDevelopRenderLightShowRange(
void*
const pValue);
132 void setDevelopRenderLightShowRange(
const void*
const pValue );
135 void getDrawBackgroundObject(
void*
const pValue);
137 void setDrawBackgroundObject(
const void*
const pValue );
139 void getDrawBackgroundMesh(
void*
const pValue);
141 void setDrawBackgroundMesh(
const void*
const pValue );
144 void getDrawObjectHit(
void*
const pValue);
146 void setDrawObjectHit(
const void*
const pValue );
149 void getDrawEventHit(
void*
const pValue);
151 void setDrawEventHit(
const void*
const pValue );
154 void getDrawAttackHit(
void*
const pValue);
156 void setDrawAttackHit(
const void*
const pValue );
159 void getDrawDynamics(
void*
const pValue);
161 void setDrawDynamics(
const void*
const pValue );
164 void getDrawDynamicsConstraint(
void*
const pValue);
166 void setDrawDynamicsConstraint(
const void*
const pValue );
172GX_FORCE_INLINE GxSysToolUtility* getGxSysToolUtility(
void){
return static_cast<GxSysToolUtility*
>(getGxSysTool()); }
174GX_UTILITY_NAMESPACE_END()
#define GX_PROHIBIT_CLASS_BASE(__CLASS__)
GxClassBase継承の禁止宣言
Definition GxBase.h:240
PRIMITIVE_FILL_MODE
塗りつぶしモード
Definition GxPrimitive.h:31
プロパティテーブルクラス
Definition GxProperty.h:1641
GX_FORCE_INLINE void setEnableFlag(const b32 enableFlag)
描画の有効フラグ設定
Definition GxSysEffect.h:49
GX_FORCE_INLINE b32 isEnable(void) const
描画の有効フラグ判定
Definition GxSysEffect.h:47
virtual GX_FORCE_INLINE void setEnableAntialias(b32)
アンチエリアスの有効/無効を設定
Definition GxSysFilterBase.h:107
virtual GX_FORCE_INLINE b32 isEnable(void) const
全フィルタの有効/無効を取得
Definition GxSysFilterBase.h:89
virtual GX_FORCE_INLINE void setEnable(b32)
全フィルタの有効/無効を設定
Definition GxSysFilterBase.h:91
virtual GX_FORCE_INLINE b32 isEnableAntialias(void) const
アンチエリアスの有効/無効を取得
Definition GxSysFilterBase.h:105
GX_FORCE_INLINE b32 isEnableGlobalIllumination(void) const
GIの有効判定
Definition GxSysLight.h:97
GX_FORCE_INLINE void setEnableGlobalIllumination(b32 enable)
GIの有効設定
Definition GxSysLight.h:99
2次元浮動小数点数クラス
Definition GxStruct.h:22
プリミティブマテリアル
Definition GxPrimitive.h:103
static const GxPrimitiveMaterial DEFAULT_3D
3Dデフォルト
Definition GxPrimitive.h:122
文字列型クラス
Definition GxString.h:18
3次元ベクトル
Definition GxVector.h:245
32bitブーリアン
Definition GxDefine.h:173