babylon.quarks - v0.19.0
Demos
GitHub
npm
Preparing search index...
RotationBySpeed
Class RotationBySpeed
Apply rotation to particles based on their speed.
Implements
Behavior
Index
Constructors
constructor
Properties
angular
Velocity
speed
Range
type
Methods
clone
frame
Update
initialize
reset
to
JSON
update
from
JSON
Constructors
constructor
new
RotationBySpeed
(
angularVelocity
:
ValueGenerator
|
FunctionValueGenerator
,
speedRange
:
IntervalValue
,
)
:
RotationBySpeed
Parameters
angularVelocity
:
ValueGenerator
|
FunctionValueGenerator
speedRange
:
IntervalValue
Returns
RotationBySpeed
Properties
angular
Velocity
angularVelocity
:
ValueGenerator
|
FunctionValueGenerator
speed
Range
speedRange
:
IntervalValue
type
type
:
string
Methods
clone
clone
()
:
Behavior
Returns
Behavior
frame
Update
frameUpdate
(
delta
:
number
)
:
void
Parameters
delta
:
number
Returns
void
initialize
initialize
(
particle
:
Particle
)
:
void
Parameters
particle
:
Particle
Returns
void
reset
reset
()
:
void
Returns
void
to
JSON
toJSON
()
:
any
Returns
any
update
update
(
particle
:
Particle
,
delta
:
number
)
:
void
Parameters
particle
:
Particle
delta
:
number
Returns
void
Static
from
JSON
fromJSON
(
json
:
any
)
:
Behavior
Parameters
json
:
any
Returns
Behavior
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
angular
Velocity
speed
Range
type
Methods
clone
frame
Update
initialize
reset
to
JSON
update
from
JSON
Demos
GitHub
npm
babylon.quarks - v0.19.0
Loading...
Apply rotation to particles based on their speed.