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

Flag mesh reference in order to load meshes within a model file and displaying different meshes sizes as flag parts. The class groups together meshes from the same size and different orientation. More...

Public Attributes

float cost
 Linear adjustment based on the size, orientation, and structural type of the part. More...
 
string displayName
 The Display name for localization. Must be an autoloc in the cfg More...
 
FlagOrientation flagOrientation
 Flag mesh orientation type loaded from persistence. More...
 
Renderer flagRend
 Working variable to avoid searching for the flag renderer when accessed. More...
 
Transform flagTransform
 Working variable to avoid searching for the mesh transform. More...
 
int index
 Used to group flag meshes with different orientations with the same index More...
 
int indexOffset
 Additive value used to indicate the structural type of the part, while maintaining backward compatibility for index values from save files created prior to installing the Making History expansion. More...
 
float mass
 Linear adjustment based on the size, orientation, and structural type of the part. More...
 
string meshName
 The actual mesh name from the .mu file. More...
 
string name
 Flag mesh name, usually referencing it's size. This reference helps group up flag meshes by name More...
 
string variantNames
 Comma separated list of names of the variant versions of this mesh. More...
 

Detailed Description

Flag mesh reference in order to load meshes within a model file and displaying different meshes sizes as flag parts. The class groups together meshes from the same size and different orientation.

Member Data Documentation

float FlagMesh.cost

Linear adjustment based on the size, orientation, and structural type of the part.

string FlagMesh.displayName

The Display name for localization. Must be an autoloc in the cfg

FlagOrientation FlagMesh.flagOrientation

Flag mesh orientation type loaded from persistence.

Renderer FlagMesh.flagRend

Working variable to avoid searching for the flag renderer when accessed.

Transform FlagMesh.flagTransform

Working variable to avoid searching for the mesh transform.

int FlagMesh.index

Used to group flag meshes with different orientations with the same index

int FlagMesh.indexOffset

Additive value used to indicate the structural type of the part, while maintaining backward compatibility for index values from save files created prior to installing the Making History expansion.

float FlagMesh.mass

Linear adjustment based on the size, orientation, and structural type of the part.

string FlagMesh.meshName

The actual mesh name from the .mu file.

string FlagMesh.name

Flag mesh name, usually referencing it's size. This reference helps group up flag meshes by name

string FlagMesh.variantNames

Comma separated list of names of the variant versions of this mesh.


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