ProceduralPlanets
ProceduralPlanets.SolidPlanetStatic Class Reference

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

Public Attributes

int atmosphereSubdivisions
 
- Public Attributes inherited from ProceduralPlanets.PlanetStatic
int meshLODLevel
 
MeshFilter meshFilter
 
int meshSubdivisions = 6
 

Protected Member Functions

override void Awake ()
 
override 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...
 
- 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...
 

Protected Attributes

GameObject _externalAtmosphere
 
MeshFilter _externalAtmosphereMeshFilter
 
MeshRenderer _externalAtmosphereRenderer
 
- 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 solid 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.SolidPlanetStatic:
ProceduralPlanets.PlanetStatic

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