Tanoda
|
Public Member Functions | |
virtual void | OnComponentModified () |
bool | CanEditType (Type t) |
virtual void | Update () |
Public Attributes | |
Material | icon |
The icon to be rendered facing the camera at the position of this object. More... | |
bool | isSelected = false |
Protected Attributes | |
Transform | cam |
A reference to the main camera transform. More... | |
Transform | trs |
A reference to this object's transform. More... | |
Properties | |
Matrix4x4 | cameraFacingMatrix [get] |
Matrix with a camera facing rotation, world position of parent transform, and scale of 1. More... | |
Renders a billboard with an icon. Inherit this class to add aditional functionality to a gizmo.
Definition at line 14 of file pb_Gizmo.cs.
bool GILES.pb_Gizmo.CanEditType | ( | Type | t | ) |
Definition at line 58 of file pb_Gizmo.cs.
|
virtual |
Called when something on a component has changed. Use this to modify gizmo after instantiation if necessary.
Reimplemented in GILES.pb_Gizmo_Light.
Definition at line 55 of file pb_Gizmo.cs.
|
virtual |
Reimplemented in GILES.pb_Gizmo_Light.
Definition at line 68 of file pb_Gizmo.cs.
|
protected |
A reference to the main camera transform.
Definition at line 20 of file pb_Gizmo.cs.
Material GILES.pb_Gizmo.icon |
The icon to be rendered facing the camera at the position of this object.
Definition at line 17 of file pb_Gizmo.cs.
bool GILES.pb_Gizmo.isSelected = false |
Definition at line 29 of file pb_Gizmo.cs.
|
protected |
A reference to this object's transform.
Definition at line 23 of file pb_Gizmo.cs.
|
getprotected |
Matrix with a camera facing rotation, world position of parent transform, and scale of 1.
Definition at line 26 of file pb_Gizmo.cs.