Crosstales.Common.Util.RandomRotator Class Reference
Random rotation changer. More...
Inheritance diagram for Crosstales.Common.Util.RandomRotator:
Public Attributes | |
bool | UseInterval = true |
Use intervals to change the rotation (default: true). More... | |
Vector2 | ChangeInterval = new Vector2(10, 20) |
summary>Minimum rotation speed per axis (default: 5 for all axis). More... | |
Vector3 | SpeedMin = new Vector3(5, 5, 5) |
summary>Maximum rotation speed per axis (default: 15 for all axis). More... | |
Vector3 | SpeedMax = new Vector3(15, 15, 15) |
summary>Set the object to a random rotation at Start (default: false). More... | |
bool | RandomRotationAtStart |
summary>Random change interval per axis (default: true). More... | |
bool | RandomChangeIntervalPerAxis = true |
summary>Random direction per axis (default: true). More... | |
bool | RandomDirectionPerAxis = true |
Detailed Description
Random rotation changer.
Member Data Documentation
◆ ChangeInterval
Vector2 Crosstales.Common.Util.RandomRotator.ChangeInterval = new Vector2(10, 20) |
summary>Minimum rotation speed per axis (default: 5 for all axis).
◆ RandomChangeIntervalPerAxis
bool Crosstales.Common.Util.RandomRotator.RandomChangeIntervalPerAxis = true |
summary>Random direction per axis (default: true).
◆ RandomRotationAtStart
bool Crosstales.Common.Util.RandomRotator.RandomRotationAtStart |
summary>Random change interval per axis (default: true).
◆ SpeedMax
Vector3 Crosstales.Common.Util.RandomRotator.SpeedMax = new Vector3(15, 15, 15) |
summary>Set the object to a random rotation at Start (default: false).
◆ SpeedMin
Vector3 Crosstales.Common.Util.RandomRotator.SpeedMin = new Vector3(5, 5, 5) |
summary>Maximum rotation speed per axis (default: 15 for all axis).
◆ UseInterval
bool Crosstales.Common.Util.RandomRotator.UseInterval = true |
Use intervals to change the rotation (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/RandomRotator.cs