static class U
A shorthand class with unit multipliers. Helps make code a little more terse on occasions!.
Static Fields and Properties
|float cm||Converts centimeters to meters. There are 100cm in 1m. In StereoKit 1 unit is also 1 meter, so
|float km||Converts meters to kilometers. There are 1000m in 1km, so this just multiplies by 1000.|
|float m||StereoKit’s default unit is meters, but sometimes it’s nice to be explicit!|
|float mm||Converts millimeters to meters. There are 1000mm in 1m. In StereoKit 1 unit is 1 meter, so
Found an issue with these docs, or have some additional questions? Create an Issue on Github!