Curvy  6.0.0
CGGameObject Class Reference
+ Inheritance diagram for CGGameObject:
+ Collaboration diagram for CGGameObject:

Detailed Description

GameObject data (Bounds + Object)

Public Attributes

GameObject Object
 
Vector3 Rotate
 
Vector3 Scale = Vector3.one
 
Vector3 Translate
 
- Public Attributes inherited from CGData
string Name
 

Properties

Matrix4x4 Matrix [get]
 
- Properties inherited from CGBounds
Bounds Bounds [get, set]
 
float Depth [get]
 
- Properties inherited from CGData
virtual int Count [get]
 

Public Member Functions

 CGGameObject ()
 
 CGGameObject (CGGameObjectProperties properties)
 
 CGGameObject (GameObject obj)
 
 CGGameObject (GameObject obj, Vector3 translate, Vector3 rotate, Vector3 scale)
 
 CGGameObject (CGGameObject source)
 
override T Clone< T > ()
 
override void RecalculateBounds ()
 
- Public Member Functions inherited from CGBounds
 CGBounds ()
 
 CGBounds (Bounds bounds)
 
 CGBounds (CGBounds source)
 

Static Public Member Functions

static CGGameObject Get (CGGameObject data, GameObject obj, Vector3 translate, Vector3 rotate, Vector3 scale)
 
- Static Public Member Functions inherited from CGBounds
static void Copy (CGBounds dest, CGBounds source)
 
- Static Public Member Functions inherited from CGData
static implicit operator bool (CGData a)
 

Additional Inherited Members

- Protected Member Functions inherited from CGData
int getGenericFIndex (ref float[] FMapArray, float fValue, out float frag)
 Searches FMapArray and returns the index that covers the fValue as well as the percentage between index and index+1 More...
 
- Protected Attributes inherited from CGBounds
Bounds mBounds
 

Constructor & Destructor Documentation

CGGameObject ( GameObject  obj)
CGGameObject ( GameObject  obj,
Vector3  translate,
Vector3  rotate,
Vector3  scale 
)

Member Function Documentation

override T Clone< T > ( )
virtual

Reimplemented from CGBounds.

static CGGameObject Get ( CGGameObject  data,
GameObject  obj,
Vector3  translate,
Vector3  rotate,
Vector3  scale 
)
static
override void RecalculateBounds ( )
virtual

Reimplemented from CGBounds.

Member Data Documentation

GameObject Object
Vector3 Rotate
Vector3 Scale = Vector3.one
Vector3 Translate

Property Documentation

Matrix4x4 Matrix
get

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