ProceduralPlanets
ProceduralPlanets.GasPlanetStatic Class Reference

This component is used by gas planets that have been baked from being a procedural planet to a static baked planet. More...

Protected Member Functions

override void Awake ()
 
- Protected Member Functions inherited from ProceduralPlanets.PlanetStatic
virtual void Update ()
 Updates local star position and checks if any textures need to be rebuilt. This happens every frame. More...
 
virtual void UpdateShaderLocalStar (bool _forceUpdate)
 Updates the shader to take into account the properties of a local star in the scene (e.g. position, intensity, color of star). Used for lighting and shadows. More...
 

Additional Inherited Members

- Public Attributes inherited from ProceduralPlanets.PlanetStatic
int meshLODLevel
 
MeshFilter meshFilter
 
int meshSubdivisions = 6
 
- Protected Attributes inherited from ProceduralPlanets.PlanetStatic
const string PLANET_VERSION = "1.0"
 
MeshRenderer _meshRenderer
 
int _shaderID_LocalStarPosition
 
int _shaderID_LocalStarColor
 
int _shaderID_LocalStarIntensity
 
int _shaderID_LocalStarAmbientIntensity
 
LocalStar.ShaderCacheSettings _localStarShaderCacheSettings
 
LocalStar _localStarNearestInstance
 
Vector3 _lastPosition
 

Detailed Description

This component is used by gas planets that have been baked from being a procedural planet to a static baked planet.

Version 1.0 - 2018 (c) Imphenzia AB - Author: Stefan Persson

Inheritance diagram for ProceduralPlanets.GasPlanetStatic:
ProceduralPlanets.PlanetStatic

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