Crosstales.Common.Util.RandomScaler Class Reference

Random scale changer. More...

Inheritance diagram for Crosstales.Common.Util.RandomScaler:

Public Attributes

bool UseInterval = true
 Use intervals to change the scale (default: true). More...
 
Vector2 ChangeInterval = new Vector2(10, 20)
 summary>Minimum scale per axis (default: 0.1 for all axis). More...
 
Vector3 ScaleMin = new Vector3(0.1f, 0.1f, 0.1f)
 summary>Maximum scale per axis (default: 0.1 for all axis). More...
 
Vector3 ScaleMax = new Vector3(3, 3, 3)
 summary>Uniform scaling for all axis (x-axis values will be used, default: true). More...
 
bool Uniform = true
 summary>Set the object to a random scale at Start (default: false). More...
 
bool RandomScaleAtStart
 

Detailed Description

Random scale changer.

Member Data Documentation

◆ ChangeInterval

Vector2 Crosstales.Common.Util.RandomScaler.ChangeInterval = new Vector2(10, 20)

summary>Minimum scale per axis (default: 0.1 for all axis).

◆ ScaleMax

Vector3 Crosstales.Common.Util.RandomScaler.ScaleMax = new Vector3(3, 3, 3)

summary>Uniform scaling for all axis (x-axis values will be used, default: true).

◆ ScaleMin

Vector3 Crosstales.Common.Util.RandomScaler.ScaleMin = new Vector3(0.1f, 0.1f, 0.1f)

summary>Maximum scale per axis (default: 0.1 for all axis).

◆ Uniform

bool Crosstales.Common.Util.RandomScaler.Uniform = true

summary>Set the object to a random scale at Start (default: false).

◆ UseInterval

bool Crosstales.Common.Util.RandomScaler.UseInterval = true

Use intervals to change the scale (default: true).

summary>Random change interval between min (= x) and max (= y) in seconds (default: x = 10, y = 20).


The documentation for this class was generated from the following file:
  • C:/Users/slaub/Unity/assets/RTVoice/RTVoicePro/Assets/Plugins/crosstales/Common/Extras/Random/Scripts/RandomScaler.cs