Gravity Engine 2 3.0
Loading...
Searching...
No Matches
GravityEngine2.GSCommon Class Reference
Inheritance diagram for GravityEngine2.GSCommon:

Static Public Member Functions

static GSDisplay FindGSDisplayAbove (Transform t)
 
static GSController GSControllerForBody (GSBody gsBody)
 
static GSDisplay GSDisplayControllerForDisplayOrbit (GSDisplayOrbit gsdo)
 
static void UpdateDisplaysForBody (GSBody gsbody)
 Scan the scene to find all GravitySceneControllers.
 

Member Function Documentation

◆ UpdateDisplaysForBody()

static void GravityEngine2.GSCommon.UpdateDisplaysForBody ( GSBody gsbody)
static

Scan the scene to find all GravitySceneControllers.

Determine which one this body belongs to. Then ask that one to update all objects in it's display controllers.

This is very greedy but avoids the need to walk the orbit heirarchy explicitly.

Parameters
gsbody

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