Tanoda
GILES.pb_Gizmo Class Reference
Inheritance diagram for GILES.pb_Gizmo:
GILES.pb_Gizmo_Camera GILES.pb_Gizmo_Light

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...
 

Detailed Description

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.

Member Function Documentation

◆ CanEditType()

bool GILES.pb_Gizmo.CanEditType ( Type  t)

Definition at line 58 of file pb_Gizmo.cs.

◆ OnComponentModified()

virtual void GILES.pb_Gizmo.OnComponentModified ( )
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.

◆ Update()

virtual void GILES.pb_Gizmo.Update ( )
virtual

Reimplemented in GILES.pb_Gizmo_Light.

Definition at line 68 of file pb_Gizmo.cs.

Member Data Documentation

◆ cam

Transform GILES.pb_Gizmo.cam
protected

A reference to the main camera transform.

Definition at line 20 of file pb_Gizmo.cs.

◆ icon

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.

◆ isSelected

bool GILES.pb_Gizmo.isSelected = false

Definition at line 29 of file pb_Gizmo.cs.

◆ trs

Transform GILES.pb_Gizmo.trs
protected

A reference to this object's transform.

Definition at line 23 of file pb_Gizmo.cs.

Property Documentation

◆ cameraFacingMatrix

Matrix4x4 GILES.pb_Gizmo.cameraFacingMatrix
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.


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