import RadialVelocity from 'three-nebula/src/initializer/Velocity/RadialVelocity.js'
RadialVelocity
Extends:
Sets the velocity property on initialized particles.
Static Method Summary
Static Public Methods | ||
public static |
fromJSON(json: object): RadialVelocity Creates a RadialVelocity initializer from JSON. |
Constructor Summary
Public Constructor | ||
public |
constructor(radius: number | Span, vector3d: Vector3D, theta: number): * Constructs a RadialVelocity initializer. |
Member Summary
Public Members | ||
public |
Direction vector. |
|
public |
Velocity radius span. |
|
public |
Theta. |
Private Members | ||
private |
Determines whether to use the directional vector or not. |
Inherited Summary
From class Initializer | ||
public static abstract |
Returns a new instance of the initializer from the JSON object passed. |
|
public static |
Determines if the initializer requires a Web GL API to be provided to its constructor. |
|
public |
isEnabled: * |
|
public |
type: * |
|
public |
Initializes the property on the emitter or particle. |
|
public abstract |
initialize(target: object) Place custom property initialization code in this method in the subclass. |
|
public abstract |
reset() |
From class Velocity | ||
public |
Directional vector |
|
public |
normalize(vr: *): * |
Static Public Methods
public static fromJSON(json: object): RadialVelocity source
Creates a RadialVelocity initializer from JSON.