ORK Framework  2.22.0
API Documentation
ORKFramework.CombatantPrefabViewPortrait Class Reference
Inheritance diagram for ORKFramework.CombatantPrefabViewPortrait:
ORKFramework.BasePortrait ORKFramework.BaseData ORKFramework.IPortrait ORKFramework.IBaseData

Public Member Functions

void SetPrefab (GameObject prefab)
 
override void Init ()
 
override void Clear ()
 
- Public Member Functions inherited from ORKFramework.BasePortrait
virtual Material GetMaterial ()
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Static Public Member Functions

static TypePrefabViewPortrait[] UpgradeData (DataObject data, string usePortraitName, string portraitName)
 
static CombatantPrefabViewPortrait GetPortrait (int typeID, CombatantPrefabViewPortrait[] portrait)
 

Public Attributes

int typeID = 0
 
bool usePrefabView = false
 
bool setPrefab = false
 
GameObject prefab
 
bool ignoreEquipmentViewerConditions = false
 
Vector3 rotation = Vector3.zero
 
string childName = ""
 
bool ownCamera = false
 
PrefabViewCameraSettings camera
 
bool ownBackground = false
 
PrefabViewBackgroundSettings background
 
Texture image
 
- Public Attributes inherited from ORKFramework.BasePortrait
bool useAlphaMask = false
 
bool useMaterial = false
 
Material maskMaterial
 
bool ownPortraitPosition = false
 
PortraitPosition portraitPosition
 

Properties

override Texture Image [get]
 
PrefabViewCameraSettings Camera [get]
 
PrefabViewBackgroundSettings Background [get]
 
bool CanSetPrefab [get]
 
- Properties inherited from ORKFramework.BasePortrait
virtual Texture Image [get]
 
bool UseAlphaMask [get]
 
bool OwnPortraitPosition [get]
 
PortraitPosition PortraitPosition [get]
 
- Properties inherited from ORKFramework.IPortrait
Texture Image [get]
 
bool UseAlphaMask [get]
 
bool OwnPortraitPosition [get]
 
PortraitPosition PortraitPosition [get]