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

Static Public Member Functions

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

Public Attributes

int typeID = 0
- Public Attributes inherited from ORKFramework.ImagePortrait
AssetSource< Texture > image = new AssetSource<Texture>()
- Public Attributes inherited from ORKFramework.BasePortrait
bool useAlphaMask = false
bool useMaterial = false
AssetSource< Material > maskMaterial
bool ownPortraitPosition = false
PortraitPosition portraitPosition

Additional Inherited Members

- Public Member Functions inherited from ORKFramework.ImagePortrait
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
- Public Member Functions inherited from ORKFramework.BasePortrait
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...
- Properties inherited from ORKFramework.ImagePortrait
override Texture Image [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]