A class that handles the transformations between the scaled-down coordinate system used by the map view and the regular coordinate system used by the main flight view and the physics.
More...
|
static float | InverseScaleFactor [get] |
|
static float | ScaleFactor [get] |
| "Scaled space" is the coordinate system used by the planetarium view. It's the same coordinate system as the world coordinates used by the physics, except scaled down by this scale factor. More...
|
|
static Transform | SceneTransform [get] |
|
A class that handles the transformations between the scaled-down coordinate system used by the map view and the regular coordinate system used by the main flight view and the physics.
ScaledSpace.ScaledSpace |
( |
| ) |
|
static void ScaledSpace.AddScaledSpaceTransform |
( |
Transform |
t | ) |
|
|
static |
Convert a position in world coordinates into a position in planetarium coordinates.
- Parameters
-
localSpacePoint | A position in world coordinates |
- Returns
- The corresponding position in planetarium coordinates
static void ScaledSpace.RemoveScaledSpaceTransform |
( |
Transform |
t | ) |
|
|
static |
Convert a position in planetarium coordinates into a position in world coordinates.
- Parameters
-
scaledSpacePoint | A position in planetarium coordinates. |
- Returns
- The corresponding position in world coordinates.
Transform ScaledSpace.originTarget |
List<Transform> ScaledSpace.scaledSpaceTransforms |
float ScaledSpace.scaleFactor |
float ScaledSpace.InverseScaleFactor |
|
staticget |
float ScaledSpace.ScaleFactor |
|
staticget |
"Scaled space" is the coordinate system used by the planetarium view. It's the same coordinate system as the world coordinates used by the physics, except scaled down by this scale factor.
Transform ScaledSpace.SceneTransform |
|
staticget |
The documentation for this class was generated from the following file: