Method GetFlareData0
GetFlareData0(Vector2, Vector2, Vector2, Vector2, float, float, float, Vector2, bool)
Compute internal parameters needed to render single flare
Declaration
public static Vector4 GetFlareData0(Vector2 screenPos, Vector2 translationScale, Vector2 rayOff0, Vector2 vLocalScreenRatio, float angleDeg, float position, float angularOffset, Vector2 positionOffset, bool autoRotate)
Parameters
Type | Name | Description |
---|---|---|
Vector2 | screenPos | |
Vector2 | translationScale | |
Vector2 | rayOff0 | |
Vector2 | vLocalScreenRatio | |
float | angleDeg | |
float | position | |
float | angularOffset | |
Vector2 | positionOffset | |
bool | autoRotate |
Returns
Type | Description |
---|---|
Vector4 | Parameter used on the shader for _FlareData0 |