ORK Framework  2.29.0
API Documentation
ORKFramework.UI.PrefabViewBackgroundSettings Class Reference
Inheritance diagram for ORKFramework.UI.PrefabViewBackgroundSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
GameObject CreateBackground (Transform target)
void SetBackgroundPosition (GameObject prefabInstance, Transform target)
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...

Public Attributes

AssetSource< GameObject > prefab = new AssetSource<GameObject>()
Vector3 offset = new Vector3(0, 0, 0)
LocalSpace localSpace = new LocalSpace()
Vector3 rotation = Vector3.zero

Member Function Documentation

◆ SetData()

override void ORKFramework.UI.PrefabViewBackgroundSettings.SetData ( DataObject  data)

Sets the variables of the class using a ORKFramework.DataObject.

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.