PC Stable Documentation
 
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Loading...
Searching...
No Matches
EffectBoatWaterBase Class Reference

Private Member Functions

override void AttachTo (Object obj, vector local_pos="0 0 0", vector local_ori="0 0 0", bool force_rotation_to_world=false)
 
void SetParticleState (int state)
 
protected void EnableEmitor (Particle ptc, int id, bool enable)
 
protected void UpdateSpeedState (Particle ptc, float speed)
 
void Update (float timeSlice=0)
 
protected void UpdatePosToSeaLevel (float timeSlice=0, float surfaceOffset=0)
 

Private Attributes

const float POS_UPDATE_THROTTLE = 0.2
 
protected int m_EmitorCount
 
protected int m_SpeedSlow
 
protected int m_SpeedMedium
 
protected int m_SpeedFast
 
protected float m_PosUpdateTimer
 
protected EBoatSpeed m_SpeedState
 
protected BoatScript m_Boat
 
protected vector m_MemPointPos
 

Member Function Documentation

◆ AttachTo()

override void AttachTo ( Object  obj,
vector  local_pos = "0 0 0",
vector  local_ori = "0 0 0",
bool  force_rotation_to_world = false 
)
inlineprivate

References m_Boat, and m_MemPointPos.

Referenced by BoatScript::BoatScript().

◆ EnableEmitor()

protected void EnableEmitor ( Particle  ptc,
int  id,
bool  enable 
)
inlineprivate

◆ SetParticleState()

◆ Update()

void Update ( float  timeSlice = 0)
inlineprivate

◆ UpdatePosToSeaLevel()

protected void UpdatePosToSeaLevel ( float  timeSlice = 0,
float  surfaceOffset = 0 
)
inlineprivate

◆ UpdateSpeedState()

protected void UpdateSpeedState ( Particle  ptc,
float  speed 
)
inlineprivate

Referenced by Update().

Field Documentation

◆ m_Boat

protected BoatScript m_Boat
private

◆ m_EmitorCount

◆ m_MemPointPos

protected vector m_MemPointPos
private

Referenced by AttachTo(), and UpdatePosToSeaLevel().

◆ m_PosUpdateTimer

protected float m_PosUpdateTimer
private

Referenced by UpdatePosToSeaLevel().

◆ m_SpeedFast

◆ m_SpeedMedium

protected int m_SpeedMedium
private

◆ m_SpeedSlow

◆ m_SpeedState

protected EBoatSpeed m_SpeedState
private

◆ POS_UPDATE_THROTTLE

const float POS_UPDATE_THROTTLE = 0.2
private

Referenced by UpdatePosToSeaLevel().


The documentation for this class was generated from the following file: