Gravity Engine 12.0
Unity Asset for Gravity
Loading...
Searching...
No Matches
GEMapToSceneInterface Interface Reference

Public Member Functions

Vector3 MapToScene (Vector3 pos)
 An optional element that can be used by GE to perform a mapping of all objects to be placed in the scene (nbodies, orbit predictors etc.).
 
Vector3 UnmapFromScene (Vector3 pos)
 

Member Function Documentation

◆ MapToScene()

Vector3 GEMapToSceneInterface.MapToScene ( Vector3  pos)

An optional element that can be used by GE to perform a mapping of all objects to be placed in the scene (nbodies, orbit predictors etc.).

Useful in cases where a mapping more complex than a simple Unity transform is to be used (e.g. logarithmic distance scale).

If a linear mapping is needed, "Use transform to reposition" and configuring the transform on the GE object may be a better solution.

Parameters
pos
Returns

The documentation for this interface was generated from the following file: