Set Radial Mask

Set Radial Mask

Windows
MacOS
Linux

This function first defines a radial integer field equal to Interior-value inside a sphere / Exterior-value outside. This field will be used alongside the particle input value and the mask condition to compute the particle output value.

  • If Mask-condition = set-always : the particle output value will be equal to Interior-value if the particle position is inside a sphere / Exterior-value otherwise.

  • If Mask-condition = merge-interior : the particle output value will be equal to Interior-value if the particle position is inside the sphere or if the particle input value is already Interior-Value / Exterior-value otherwise.

  • If Mask-condition = merge-exterior : the particle output value will be equal to Exterior-value if the particle position is outside the sphere or if the particle input value is already Exterior-Value / Interior-value otherwise.

Target is Radial Int Mask

Set Radial Mask
Target
Mask Radius
0.0
Center Position
X0
Y 0
Z 0
Interior Value
1
Exterior Value
0
Mask Condition
Field_Set_Always
Return Value

Inputs

Target
Radial Int Mask Object Reference
Mask Radius
Float

Radius of the radial field

Center Position
Vector

Center position of the radial field"

Interior Value
Integer

If the sample distance from the center is less than radius, the intermediate value will be set the interior value

Exterior Value
Integer

If the sample distance from the center is greater than radius, the intermediate value will be set the exterior value

Mask Condition
ESetMaskConditionType Enum

If the mask condition is set to always the output value will be the intermediate one. If set to not interior/exterior the output value will be the intermediate one if the input is different from the interior/exterior value

Outputs

Return Value
Radial Int Mask Object Reference
Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss