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

3D pie chart control More...

Inheritance diagram for PieChart:

Classes

class  Slice
 

Public Member Functions

delegate void OnInputDelegate (Slice slice)
 
void SetSlices (List< Slice > slices)
 Sets the list of slices for the chart More...
 
void UpdateChart ()
 Updates the chart based on current slice list More...
 

Public Attributes

float depth
 Depth of the chart More...
 
Material material
 Material to use for the slices More...
 
float radius
 Pie chart radius More...
 
int resolution
 Minimum resolution of the circle More...
 
List< Sliceslices
 List of pie slices More...
 

Detailed Description

3D pie chart control

Member Function Documentation

delegate void PieChart.OnInputDelegate ( Slice  slice)
void PieChart.SetSlices ( List< Slice slices)
inline

Sets the list of slices for the chart

Parameters
slices
void PieChart.UpdateChart ( )
inline

Updates the chart based on current slice list

< mesh stuff

< find out at what fraction we want our slice to end

Member Data Documentation

float PieChart.depth

Depth of the chart

Material PieChart.material

Material to use for the slices

float PieChart.radius

Pie chart radius

int PieChart.resolution

Minimum resolution of the circle

List<Slice> PieChart.slices

List of pie slices


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