27 GXColor mChanMatColor;
28 GXColor mChanAmbColor;
32 : mLightEnable(
false),
33 mLightMask(GX_LIGHT_NULL),
35 mFogType(GX_FOG_NONE),
42 mZOffsetOrig.x = 0.0f;
43 mZOffsetOrig.y = 0.0f;
44 mZOffsetOrig.z = 0.0f;
46 mChanMatColor.r = mChanMatColor.g = mChanMatColor.b = mChanMatColor.a =
49 mChanAmbColor.r = mChanAmbColor.g = mChanAmbColor.b = 0;
50 mChanAmbColor.a = 255;
67 bool IsLightEnable()
const {
71 GXLightID GetLightMask()
const {
75 bool IsSpotLight()
const {
79 void GetFog(GXFogType* pType, f32* pStartZ, f32* pEndZ, f32* pNearZ,
80 f32* pFarZ, GXColor* pColor)
const {
83 *pStartZ = mFogStartz;
90 void GetZOffset(f32& rOffset,
math::VEC3& rPos)
const {
94 void SetZOffset(f32 offset,
const math::VEC3& rPos) {
99 const GXColor& GetChanMatColor()
const {
100 return mChanMatColor;
102 const GXColor& GetChanAmbColor()
const {
103 return mChanAmbColor;