Click or drag to resize
RotationAnimator Constructor (BaseAnimatorProperties, Vector3, NullableVector3, Single, Single)
Create the rotation animator.

Namespace:  GeonBit.ECS.Components.Particles.Animators
Assembly:  GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public RotationAnimator(
	BaseAnimatorProperties properties,
	Vector3 rotationDirection,
	Nullable<Vector3> directionJitter = null,
	float minSpeed = 1f,
	float maxSpeed = 1f
)

Parameters

properties
Type: GeonBit.ECS.Components.Particles.AnimatorsBaseAnimatorProperties
Base animator properties.
rotationDirection
Type: Vector3
Base rotation vector.
directionJitter (Optional)
Type: SystemNullableVector3
Rotation vector jitter.
minSpeed (Optional)
Type: SystemSingle
Minimum rotation speed.
maxSpeed (Optional)
Type: SystemSingle
Maximum rotation speed.
See Also