Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.

Definition at line 46 of file ModelAbstract.h.

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.

Definition at line 48 of file ModelAbstract.h.

Member Data Documentation

float CModelAbstract::CustomSelectionShape::m_Height

Box height if BOX, cylinder height if CYLINDER.

Definition at line 58 of file ModelAbstract.h.

float CModelAbstract::CustomSelectionShape::m_Size0

Box width if BOX, or radius if CYLINDER.

Definition at line 56 of file ModelAbstract.h.

float CModelAbstract::CustomSelectionShape::m_Size1

Box depth if BOX, or radius if CYLINDER.

Definition at line 57 of file ModelAbstract.h.

EType CModelAbstract::CustomSelectionShape::m_Type

Type of shape.

Definition at line 55 of file ModelAbstract.h.


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