csharp
public sealed class VelocityInConeNodeParticles start moving somewhere inside a cone.
As a graph node
- Create menu
- Vfx/Initialize/Velocity in Cone
Remarks
⚠ The jet, the fountain and the muzzle flash — and the opcode for it had shipped in both backends with nothing able to author it. Vfx/Initialize/Random Velocity is this with a half-angle of π, which is a sphere, so every directional emitter in the library was a sphere somebody had aimed with a Gravity block.
Fields and properties (5)
public Float3 AxisWhich way the cone points. Normalized by the simulation, so any length will do.
public Scalar AngleHalf the cone's opening, in radians. π is a sphere.
public Scalar MinimumThe slowest.
public Scalar MaximumThe fastest.
public static NodeTypeDefinition DefinitionWhat this node type is, for the registry. Generated.
Methods (2)
protected internal override void Contribute(VfxGraphBuilder builder)Adds whatever this node contributes.
public override void Bind(NodeBinding binding)Fills the port fields from what the compiler resolved. Generated.
Used by (1)
- NodeTypesVixen.Editor.VfxGraph