Terrain::cTerrainSphereDecal class

Base classes

class DefaultRefCounted
The default implementation of a reference counted class.
struct cTerrainDecal

Public types

struct FaceInfo

Constructors, destructors, conversion operators

ASSERT_SIZE(FaceInfo, 0x14)
cTerrainSphereDecal()

Public functions

auto Initialize(int arg_4, Graphics::Texture* pTexture, cTerrainSphere* pParentSphere, const Transform& xform, float turns, bool isStatic) -> void
auto Shutdown() -> void
auto UpdateDecal() -> void
auto DispatchStaticDecal(int face) -> void
auto GetBBoxForFace(int faceRequest, Math::Rectangle& bbox) -> bool
auto IsInitialized() -> bool
auto GetBoundingBox(int face) -> Math::Rectangle*
auto SetTexture(Graphics::Texture* pTexture) -> void
auto GetTexture() const -> Graphics::Texture*
auto IsBelowWater() const -> bool
auto SetDecalEmissive(bool val) -> void
auto GetDecalEmissive() const -> bool
auto SetDecalFog(bool val) -> void
auto GetDecalFog() const -> bool
auto GetDecalIsStatic() const -> bool

Public variables

int field_74
cTerrainSphere* mpParentSphere
cTerrainMapSet* mpTerrainMapSet
eastl::vector<FaceInfo> mFaceArray
Graphics::cCubeMapCoord mPosition
float mUSize
float mVSize
float mUSizeInput
float mVSizeInput
float mDecalRadius
int mDecalTextureID
uint32_t mFlags
Graphics::ShaderDataDecalState mShaderDataDecalState
Math::Vector3 mZeroUVLoc
Math::Vector4 mTexturePlane
Math::Vector3 mDirectionU
float mScaleU
Math::Vector3 mDirectionV
float mScaleV
TexturePtr mpTexture