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

Interface defining method to initialize an NBody object prior to evolution beginning. Called by GravityEngine. More...

Inheritance diagram for INbodyInit:
KeplerSequence OrbitEllipse OrbitHyper OrbitPoint OrbitUniversal BinaryOrbit

Public Member Functions

void InitNBody (float physicalScale, float massScale)
 Inits the N body. Called prior to evolution starting. Allows NBody object to adjust its position and velocity prior to evolution beginning.
 

Detailed Description

Interface defining method to initialize an NBody object prior to evolution beginning. Called by GravityEngine.

Member Function Documentation

◆ InitNBody()

void INbodyInit.InitNBody ( float  physicalScale,
float  massScale 
)

Inits the N body. Called prior to evolution starting. Allows NBody object to adjust its position and velocity prior to evolution beginning.

Parameters
physicalScalePhysical scale.

Implemented in BinaryOrbit, OrbitEllipse, OrbitHyper, KeplerSequence, OrbitPoint, and OrbitUniversal.


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