Pyrogenesis  trunk
Public Types | Public Attributes | List of all members
CModelAbstract::CustomSelectionShape Struct Reference

Describes a custom selection shape to be used for a model's selection box instead of the default recursive bounding boxes. More...

#include <ModelAbstract.h>

Public Types

enum  EType { BOX, CYLINDER }
 

Public Attributes

EType m_Type
 Type of shape. More...
 
float m_Size0
 Box width if BOX, or radius if CYLINDER. More...
 
float m_Size1
 Box depth if BOX, or radius if CYLINDER. More...
 
float m_Height
 Box height if BOX, cylinder height if CYLINDER. More...
 

Detailed Description

Describes a custom selection shape to be used for a model's selection box instead of the default recursive bounding boxes.

Member Enumeration Documentation

Enumerator
BOX 

The selection shape is determined by an oriented box of custom, user-specified size.

CYLINDER 

The selection shape is determined by a cylinder of custom, user-specified size.

Member Data Documentation

float CModelAbstract::CustomSelectionShape::m_Height

Box height if BOX, cylinder height if CYLINDER.

float CModelAbstract::CustomSelectionShape::m_Size0

Box width if BOX, or radius if CYLINDER.

float CModelAbstract::CustomSelectionShape::m_Size1

Box depth if BOX, or radius if CYLINDER.

EType CModelAbstract::CustomSelectionShape::m_Type

Type of shape.


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