ORK Framework  2.34.0
API Documentation
ORKFramework.BasePortrait Class Reference
Inheritance diagram for ORKFramework.BasePortrait:
ORKFramework.BaseData ORKFramework.IPortrait ORKFramework.IBaseData ORKFramework.CombatantPrefabViewPortrait ORKFramework.ImagePortrait ORKFramework.TypePrefabViewPortrait ORKFramework.TypeImagePortrait

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
virtual Material GetMaterial ()
virtual void Init ()
virtual void Clear ()
- 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

bool useAlphaMask = false
bool useMaterial = false
AssetSource< Material > maskMaterial
bool ownPortraitPosition = false
PortraitPosition portraitPosition


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]

Member Function Documentation

◆ SetData()

override void ORKFramework.BasePortrait.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.

Reimplemented in ORKFramework.CombatantPrefabViewPortrait, ORKFramework.TypePrefabViewPortrait, and ORKFramework.ImagePortrait.