YaPostProcessMaskHandle
The handle of post-process Mask
Properties
YaEntity TargetEntity
Target Entity
float4 Color
The color of mask effect,xyzw in float4 represents color's rgba by order.
number Intensity
How full the effect is.
number Smoothness
Smooth transition of mask from edge to center.
number BlendTimeEnter
Post processing start working and enter to screen time.
[Default(0.1)]
number BlendTimeExit
Post processing stop working and exit from screen time.
[Default(0.15)]
Functions
void Play()
Play playing post effect mask. This method can be called on Client mode or Server mode.
void Stop()
Stop playing post effect mask. This method can be called on Client mode or Server mode.