Enfusion Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
FilterSmoothCD Interface Reference
Inheritance diagram for FilterSmoothCD:
[legend]

Public Member Functions

void FilterSmoothCD (float pSmoothTime=0.1, float pMaxVel=FLT_MAX)
 
void Reset (float pVal)
 Resets filter.
 
void SetValue (float pVal)
 Sets the value, but retains velocity.
 
float GetValue ()
 
float Filter (float pDt, float pVal)
 One filter step.
 
- Public Member Functions inherited from Managed
proto external ref Managed Clone ()
 Return shallow copy of object, or null if it is not allowed (not public constructor)
 

Public Attributes

float m_fSmoothTime
 
float m_fMaxVelocity
 
float m_fActVal
 
float m_fVelocity
 

Constructor & Destructor Documentation

◆ FilterSmoothCD()

void FilterSmoothCD.FilterSmoothCD ( float  pSmoothTime = 0::1,
float  pMaxVel = FLT_MAX 
)

Member Function Documentation

◆ Filter()

float FilterSmoothCD.Filter ( float  pDt,
float  pVal 
)

One filter step.

Implemented in FilterSmoothCDAng.

◆ GetValue()

float FilterSmoothCD.GetValue ( )

◆ Reset()

void FilterSmoothCD.Reset ( float  pVal)

Resets filter.

◆ SetValue()

void FilterSmoothCD.SetValue ( float  pVal)

Sets the value, but retains velocity.

Member Data Documentation

◆ m_fActVal

float FilterSmoothCD.m_fActVal

◆ m_fMaxVelocity

float FilterSmoothCD.m_fMaxVelocity

◆ m_fSmoothTime

float FilterSmoothCD.m_fSmoothTime

◆ m_fVelocity

float FilterSmoothCD.m_fVelocity

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