import PolarVelocity from 'three-nebula/src/initializer/Velocity/PolarVelocity.js'
PolarVelocity
Extends:
Sets the velocity property on initialized particles.
Static Method Summary
Static Public Methods | ||
public static |
fromJSON(json: object): PolarVelocity Creates a PolarVelocity initializer from JSON. |
Constructor Summary
Public Constructor | ||
public |
constructor(polar3d: Polar3D, theta: number): * Constructs a PolarVelocity initializer. |
Member Summary
Public Members | ||
public |
Directional vector |
|
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): PolarVelocity source
Creates a PolarVelocity initializer from JSON.