C# Class NBodySim, GPU_GEMS_OVR

Inheritance: MonoBehaviour
Show file Open project: jakedowns/GPU_GEMS_OVR Class Usage Examples

Public Properties

Property Type Description
m_config CONFIG,
m_damping float
m_integrateBodies UnityEngine.ComputeShader
m_numBodies int
m_particleMat Material
m_positionScale float
m_seed int
m_softeningSquared float
m_speed float
m_velocityScale float
m_zOffset float

Public Methods

Method Description
ConfigExpand ( ) : void
ConfigRandom ( ) : void
ConfigShell ( ) : void
OnDestroy ( ) : void
OnPostRender ( ) : void
Start ( ) : void
Swap ( ComputeBuffer buffer ) : void
Update ( ) : void

Method Details

ConfigExpand() public method

public ConfigExpand ( ) : void
return void

ConfigRandom() public method

public ConfigRandom ( ) : void
return void

ConfigShell() public method

public ConfigShell ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnPostRender() public method

public OnPostRender ( ) : void
return void

Start() public method

public Start ( ) : void
return void

Swap() public method

public Swap ( ComputeBuffer buffer ) : void
buffer UnityEngine.ComputeBuffer
return void

Update() public method

public Update ( ) : void
return void

Property Details

m_config public property

public CONFIG, m_config
return CONFIG,

m_damping public property

public float m_damping
return float

m_integrateBodies public property

public ComputeShader,UnityEngine m_integrateBodies
return UnityEngine.ComputeShader

m_numBodies public property

public int m_numBodies
return int

m_particleMat public property

public Material m_particleMat
return Material

m_positionScale public property

public float m_positionScale
return float

m_seed public property

public int m_seed
return int

m_softeningSquared public property

public float m_softeningSquared
return float

m_speed public property

public float m_speed
return float

m_velocityScale public property

public float m_velocityScale
return float

m_zOffset public property

public float m_zOffset
return float