Makinom  2.21.0
API Documentation
GamingIsLove.Makinom.CameraPosition Class Reference
Inheritance diagram for GamingIsLove.Makinom.CameraPosition:
GamingIsLove.Makinom.BaseIndexData GamingIsLove.Makinom.BaseData GamingIsLove.Makinom.IBaseData

Public Member Functions

 CameraPosition (string name)
 
override void SetData (DataObject data)
 Sets the variables of the class using a GamingIsLove.Makinom.DataObject. More...
 
void Use (Transform camera, Transform target)
 
- Public Member Functions inherited from GamingIsLove.Makinom.BaseIndexData
 BaseIndexData (string guid)
 
virtual void GenerateGUID ()
 
override DataObject GetData ()
 Gets a GamingIsLove.Makinom.DataObject representing the class. More...
 
virtual string GetEditorPopupName (bool addType)
 
- Public Member Functions inherited from GamingIsLove.Makinom.BaseData
virtual void EditorAutoSetup (string fieldName)
 Called for the field defined using the settingAutoSetup option of the GamingIsLove.Makinom.EditorInfoAttribute. More...
 

Public Attributes

string name = ""
 
ChildObjectSettings childObject = new ChildObjectSettings()
 
bool setPosition = true
 
bool localSpace = false
 
bool ignoreScale = false
 
Vector3 position = Vector3.zero
 
bool setRotation = true
 
Vector3 rotation = Vector3.zero
 
bool rotationIsOffset = false
 
bool lookAt = false
 
AxisBool ignoreRotation = new AxisBool()
 
bool setFoV = false
 
float fieldOfView = 40.0f
 
bool setOrthographicSize = false
 
float orthographicSize = 5.0f
 

Properties

override string EditorName [get, set]
 
- Properties inherited from GamingIsLove.Makinom.BaseIndexData
virtual string GUID [get, set]
 
virtual int ID [get, set]
 
abstract string EditorName [get, set]
 
virtual string DataName [get]
 

Additional Inherited Members

- Protected Attributes inherited from GamingIsLove.Makinom.BaseIndexData
int realID = 0
 
string guid = System.Guid.NewGuid().ToString()
 

Member Function Documentation

◆ SetData()

override void GamingIsLove.Makinom.CameraPosition.SetData ( DataObject  data)
virtual

Sets the variables of the class using a GamingIsLove.Makinom.DataObject.

Parameters
dataGamingIsLove.Makinom.DataObject containing the data.

Reimplemented from GamingIsLove.Makinom.BaseIndexData.