ORK Framework  2.22.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

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

Public Attributes

bool useAlphaMask = false
 
bool useMaterial = false
 
Material maskMaterial
 
bool ownPortraitPosition = false
 
PortraitPosition portraitPosition
 

Properties

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]