Skip to content

VfxEmissionSphere

15.24

Class Documentation

Edit documentation

An emission source that is the surface of a sphere. Each point is placed by two coordinates u and v, each in [-1, 1]:

  • the angle around the vertical axis is u * 180 degrees;
  • the height is v * radius, on the ring of radius sqrt(1 - v^2) * radius at that height.

The emission normal is the direction from the frame origin to the transformed point. With a ShapeCenter offset that is not the direction from the sphere's centre.

Properties

0x654153c3

Pointer<VfxVector2AnimatedWithRandomDriver> = null
16.1
Type history (2 revisions)
Edit documentation

A VfxVector2AnimatedWithRandomDriver that supplies the (u, v) coordinates. Its use depends on DistributionMode:

  • 0: (u, v) is the driver's value. If the driver is null, u and v are uniform random in [-1, 1].
  • other: u is random within the key range of the curve's X lane, and v is the particle's index in its spawn batch divided by the batch size, mapped onto the key range of the Y lane. Left unset, both ranges are [-1, 1].

DistributionMode

U8 = 0
16.3
Edit documentation

0 takes the coordinates from 0x654153c3 or at random. Any other value spreads the particles of one spawn evenly over the height, in spawn order.

UniformDistribution

Flag = false
Removed in 16.3 16.1
Add documentation

No documentation available yet. Click "Add documentation" to contribute!