Swarm::cEffectMapBase class

Base classes

class IEffectMap
Effect maps are one of the way effects can react to environment information from the game.
class RefCountTemplate

Constructors, destructors, conversion operators

~cEffectMapBase() virtual

Public functions

auto Start() -> void override
auto Finish() -> void override
auto ModificationCount() -> int override
auto Height(const Math::Vector3& position) -> float override
Returns the height of the map at the given position.
auto Normal(const Math::Vector3& position) -> Math::Vector3 override
Returns the normal direction of the map at the given position.
auto Velocity(const Math::Vector3& position) -> Math::Vector3 override
Returns the velocity (i.e., speed with direction) of the map at the given position.
auto ColorAlpha(void* unk) -> Math::ColorRGBA override
Returns the RGBA color of the map at the given position.

Function documentation

float Swarm::cEffectMapBase::Height(const Math::Vector3& position) override

Returns the height of the map at the given position.

Parameters
position

Math::Vector3 Swarm::cEffectMapBase::Normal(const Math::Vector3& position) override

Returns the normal direction of the map at the given position.

Parameters
position

Math::Vector3 Swarm::cEffectMapBase::Velocity(const Math::Vector3& position) override

Returns the velocity (i.e., speed with direction) of the map at the given position.

Parameters
position

Math::ColorRGBA Swarm::cEffectMapBase::ColorAlpha(void* unk) override

Returns the RGBA color of the map at the given position.

Parameters
unk