Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
GeometryBuffer Class Reference

Classes

class  GroupData
 
class  ObjectData
 

Public Member Functions

bool Check (bool AutoResolveVLimit, bool DebugOut)
 
 GeometryBuffer ()
 
void PopulateMeshes (GameObject[] gs, Dictionary< string, Material > mats)
 
void PushFace (FaceIndices f)
 
void PushGroup (string name)
 
void PushMaterialGroup (string name)
 
void PushNormal (Vector3 v)
 
void PushObject (string name)
 
void PushUV (Vector2 v)
 
void PushVertex (Vector3 v)
 
bool ResolveLimit ()
 
string[] ReturnMaterialNames ()
 

Static Public Member Functions

static void TangentSolver (Mesh mesh)
 

Public Attributes

List< Vector3 > normals
 
List< ObjectDataobjects
 
List< Vector2 > uvs
 
List< Vector3 > vertices
 

Properties

bool hasNormals [get]
 
bool hasUVs [get]
 
bool isEmpty [get]
 
int numObjects [get]
 

Constructor & Destructor Documentation

GeometryBuffer.GeometryBuffer ( )
inline

Member Function Documentation

bool GeometryBuffer.Check ( bool  AutoResolveVLimit,
bool  DebugOut 
)
inline
void GeometryBuffer.PopulateMeshes ( GameObject[]  gs,
Dictionary< string, Material >  mats 
)
inline

< Should not happen unless obj file is corrupt...

void GeometryBuffer.PushFace ( FaceIndices  f)
inline
void GeometryBuffer.PushGroup ( string  name)
inline
void GeometryBuffer.PushMaterialGroup ( string  name)
inline
void GeometryBuffer.PushNormal ( Vector3  v)
inline
void GeometryBuffer.PushObject ( string  name)
inline
void GeometryBuffer.PushUV ( Vector2  v)
inline
void GeometryBuffer.PushVertex ( Vector3  v)
inline
bool GeometryBuffer.ResolveLimit ( )
inline
string [] GeometryBuffer.ReturnMaterialNames ( )
inline
static void GeometryBuffer.TangentSolver ( Mesh  mesh)
inlinestatic

< Calculate handedness

Member Data Documentation

List<Vector3> GeometryBuffer.normals
List<ObjectData> GeometryBuffer.objects
List<Vector2> GeometryBuffer.uvs
List<Vector3> GeometryBuffer.vertices

Property Documentation

bool GeometryBuffer.hasNormals
get
bool GeometryBuffer.hasUVs
get
bool GeometryBuffer.isEmpty
get
int GeometryBuffer.numObjects
get

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