Skip to content

Commit 983d55f

Browse files
committed
Removed 'if not null' documentation as it cannot be null
1 parent 7ec6ff6 commit 983d55f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/framework/components/particle-system/component.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -171,18 +171,18 @@ var depthLayer;
171171
*
172172
* @property {Vec3} particleNormal (Only for PARTICLEORIENTATION_WORLD and PARTICLEORIENTATION_EMITTER) The exception of extents of a local space bounding box within which particles are not spawned. Aligned to the center of EmitterExtents.
173173
* @property {CurveSet} localVelocityGraph Velocity relative to emitter over lifetime.
174-
* @property {CurveSet} localVelocityGraph2 If not null, particles pick random values between localVelocityGraph and localVelocityGraph2.
174+
* @property {CurveSet} localVelocityGraph2 Particles pick random values between localVelocityGraph and localVelocityGraph2.
175175
* @property {CurveSet} velocityGraph World-space velocity over lifetime.
176-
* @property {CurveSet} velocityGraph2 If not null, particles pick random values between velocityGraph and velocityGraph2.
176+
* @property {CurveSet} velocityGraph2 Particles pick random values between velocityGraph and velocityGraph2.
177177
* @property {CurveSet} colorGraph Color over lifetime.
178178
* @property {Curve} rotationSpeedGraph Rotation speed over lifetime.
179-
* @property {Curve} rotationSpeedGraph2 If not null, particles pick random values between rotationSpeedGraph and rotationSpeedGraph2.
179+
* @property {Curve} rotationSpeedGraph2 Particles pick random values between rotationSpeedGraph and rotationSpeedGraph2.
180180
* @property {Curve} radialSpeedGraph Radial speed over lifetime, velocity vector points from emitter origin to particle pos.
181-
* @property {Curve} radialSpeedGraph2 If not null, particles pick random values between radialSpeedGraph and radialSpeedGraph2.
181+
* @property {Curve} radialSpeedGraph2 Particles pick random values between radialSpeedGraph and radialSpeedGraph2.
182182
* @property {Curve} scaleGraph Scale over lifetime.
183-
* @property {Curve} scaleGraph2 If not null, particles pick random values between scaleGraph and scaleGraph2.
183+
* @property {Curve} scaleGraph2 Particles pick random values between scaleGraph and scaleGraph2.
184184
* @property {Curve} alphaGraph Alpha over lifetime.
185-
* @property {Curve} alphaGraph2 If not null, particles pick random values between alphaGraph and alphaGraph2.
185+
* @property {Curve} alphaGraph2 Particles pick random values between alphaGraph and alphaGraph2.
186186
* @property {number[]} layers An array of layer IDs ({@link Layer#id}) to which this particle system should belong.
187187
* Don't push/pop/splice or modify this array, if you want to change it - set a new one instead.
188188
*/

0 commit comments

Comments
 (0)