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

Public Member Functions

PAsteroid Generate (int seed, float radius, Transform parent, System.Func< Transform, float > rangefinder, Callback onComplete, bool isSecondary=false)
 

Additional Inherited Members

- Public Attributes inherited from ProceduralSpaceObject
float radius
 
- Protected Member Functions inherited from ProceduralSpaceObject
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 inherited from ProceduralSpaceObject
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

PAsteroid ProceduralAsteroid.Generate ( int  seed,
float  radius,
Transform  parent,
System.Func< Transform, float >  rangefinder,
Callback  onComplete,
bool  isSecondary = false 
)
inline

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