Difference between revisions of "Script/VisualGlobalFunctions"

From SF3
Jump to: navigation, search
(Created page with "===Global Functions=== This is a list of global functions available for use in visual scripts. {| border='0' style ='border:solid 1px #eeeedd; color: black; width: 1200px;bac...")
 
Line 54: Line 54:
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|float]]  
 
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|float]]  
 
| style='color: black; width: 90%; line-height: 0.8;' | '''Interpolate''' (const [[../BasicDataTypes|float]] ''_fA'', const [[../BasicDataTypes|float]] ''_fB'', const [[../BasicDataTypes|float]] ''_fS'')
 
| style='color: black; width: 90%; line-height: 0.8;' | '''Interpolate''' (const [[../BasicDataTypes|float]] ''_fA'', const [[../BasicDataTypes|float]] ''_fB'', const [[../BasicDataTypes|float]] ''_fS'')
 +
|-
 +
| style='color: blue; width: 10%; text-align:right;line-height: 0.8;' | [[../BasicDataTypes|float]]
 +
| style='color: black; width: 90%; line-height: 0.8;' | '''Interpolate''' (const [[../BasicDataTypes|float]] ''_fA'', const [[../BasicDataTypes|float]] ''_fB'', const [[../BasicDataTypes|float]] ''_fS'', const [[../VisualEnums|EInterpolation]] ''_Mode'', const [[../BasicDataTypes|float]] ''_fExponent'' = 2.0f)
 
|-
 
|-
 
|}
 
|}

Revision as of 10:28, 1 September 2016

Global Functions

This is a list of global functions available for use in visual scripts.

void print (const string&in)
float RandomFloat (const float _fFrom, const float _fTo)
int RandomInt (const int _iFrom, const int _iTo)
float Sin (const float _fRadians)
float Cos (const float _fRadians)
float Tan (const float _fRadians)
float ArcSin (const float _fX)
float ArcCos (const float _fX)
float ArcTan (const float _fX)
float ArcTan (const float _fY, const float _fX)
float Round (const float _fValue)
float RadianToDegree (const float _fRadians)
float DegreeToRadian (const float _fDegree)
float Clamp (const float _fValue, const float _fMin, const float _fMax)
float Pow (const float _fX, const float _fPower)
float Sqrt (const float _fValue)
float Interpolate (const float _fA, const float _fB, const float _fS)
float Interpolate (const float _fA, const float _fB, const float _fS, const EInterpolation _Mode, const float _fExponent = 2.0f)

Global Functions

This is a list of global functions available for use in visual scripts.

void print (const string&in)
float RandomFloat (const float _fFrom, const float _fTo)
int RandomInt (const int _iFrom, const int _iTo)
float Sin (const float _fRadians)
float Cos (const float _fRadians)
float Tan (const float _fRadians)
float ArcSin (const float _fX)
float ArcCos (const float _fX)
float ArcTan (const float _fX)
float ArcTan (const float _fY, const float _fX)
float Round (const float _fValue)
float RadianToDegree (const float _fRadians)
float DegreeToRadian (const float _fDegree)
float Clamp (const float _fValue, const float _fMin, const float _fMax)
float Pow (const float _fX, const float _fPower)
float Sqrt (const float _fValue)
float Interpolate (const float _fA, const float _fB, const float _fS)