Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
ProceduralSpaceObject Class Reference
Inheritance diagram for ProceduralSpaceObject:
ProceduralAsteroid ProceduralComet

Classes

class  ModValue
 
class  ModWrapper
 

Public Attributes

float radius
 

Protected Member Functions

Mesh CreateMeshCollider (SphereBaseSO sphere, float radius, List< PQSMod > modArray)
 
Mesh CreateMeshVisual (SphereBaseSO sphere, float radius, List< PQSMod > modArray, out float volume, out float highestPoint)
 
float RangefinderGeneric (Transform trf)
 

Protected Attributes

string colliderLayer = null
 
PhysicMaterial colliderMaterial = null
 
SphereBaseSO colliderSphere = null
 
string colliderTag = null
 
string convexLayer = null
 
PhysicMaterial convexMaterial = null
 
SphereBaseSO convexSphere = null
 
string convexTag = null
 
bool debugGenTime = false
 
List< ModWrappermods = null
 
Material primaryMaterial = null
 
Material secondaryMaterial = null
 
int seed
 
string visualLayer = null
 
SphereBaseSO visualSphere = null
 
string visualTag = null
 

Member Function Documentation

Mesh ProceduralSpaceObject.CreateMeshCollider ( SphereBaseSO  sphere,
float  radius,
List< PQSMod modArray 
)
inlineprotected
Mesh ProceduralSpaceObject.CreateMeshVisual ( SphereBaseSO  sphere,
float  radius,
List< PQSMod modArray,
out float  volume,
out float  highestPoint 
)
inlineprotected

< volume of a unit sphere

float ProceduralSpaceObject.RangefinderGeneric ( Transform  trf)
inlineprotected

Member Data Documentation

string ProceduralSpaceObject.colliderLayer = null
protected
PhysicMaterial ProceduralSpaceObject.colliderMaterial = null
protected
SphereBaseSO ProceduralSpaceObject.colliderSphere = null
protected
string ProceduralSpaceObject.colliderTag = null
protected
string ProceduralSpaceObject.convexLayer = null
protected
PhysicMaterial ProceduralSpaceObject.convexMaterial = null
protected
SphereBaseSO ProceduralSpaceObject.convexSphere = null
protected
string ProceduralSpaceObject.convexTag = null
protected
bool ProceduralSpaceObject.debugGenTime = false
protected
List<ModWrapper> ProceduralSpaceObject.mods = null
protected
Material ProceduralSpaceObject.primaryMaterial = null
protected
float ProceduralSpaceObject.radius
Material ProceduralSpaceObject.secondaryMaterial = null
protected
int ProceduralSpaceObject.seed
protected
string ProceduralSpaceObject.visualLayer = null
protected
SphereBaseSO ProceduralSpaceObject.visualSphere = null
protected
string ProceduralSpaceObject.visualTag = null
protected

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