SPostFX
Index
Functions Index
Function Name |
---|
Functions
CreateCommandBuffer
SCommandBuffer CreateCommandBuffer ()
Return a new CommandBuffer.
AddCommandBufferToCamera
void AddCommandBufferToCamera (SCommandBuffer commandbuffer, int cameraEvent=19)
Add the CommandBuffer to the Main Camera.
Parameter | Type | Description |
---|---|---|
RemoveCommandBufferFromCamera
void RemoveCommandBufferFromCamera (SCommandBuffer commandbuffer, int cameraEvent=19)
Remove the CommandBuffer from the Main Camera.
Parameter | Type | Description |
---|---|---|
SetPostProfile
void SetPostProfile (SResource customProfile)
Set a custom Space Post-Processing Profile.
Parameter | Type | Description |
---|---|---|
ClearPostProfile
void ClearPostProfile ()
Clear current Post-Processing profile and restore default one.
SetCrepsecularRays
void SetCrepsecularRays (bool on, float thresR, float thresG, float thresB, float colorR, float colorG, float colorB, float falloff, float blurSize, int blurIterations, float intensity)
Function Description
Parameter | Type | Description |
---|---|---|
SetAmbientOcclusion
void SetAmbientOcclusion (bool on, float intensity, bool aoOnly)
Function Description
Parameter | Type | Description |
---|---|---|
SetMotionBlur
void SetMotionBlur (bool on, float shutterAngle)
Function Description
Parameter | Type | Description |
---|---|---|
SetBloom
void SetBloom (bool on, float threshold, float intensity)
Function Description
Parameter | Type | Description |
---|---|---|
SetAnamorphicFlares
void SetAnamorphicFlares (bool on, float r, float g, float b, float intensity, float threshold, float spread, bool vertical)
Function Description
Parameter | Type | Description |
---|---|---|
SetVignette
void SetVignette (bool on, float r, float g, float b, float intensity)
Function Description
Parameter | Type | Description |
---|---|---|
SetLensDirt
void SetLensDirt (bool on, float threshold, SResource texture, float intensity)
Function Description
Parameter | Type | Description |
---|---|---|
SetChromaticAberrationPost
void SetChromaticAberrationPost (bool on, float strength, float cornerBlur)
Function Description
Parameter | Type | Description |
---|---|---|
SetFocus
void SetFocus (SGameObject target)
Function Description
Parameter | Type | Description |
---|---|---|
SupressFocus
void SupressFocus ()
Function Description
RestoreFocus
void RestoreFocus ()
Function Description
SetLookUpTable
void SetLookUpTable (SResource lut)
Function Description
Parameter | Type | Description |
---|---|---|
Last updated