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

Public Member Functions

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

Public Attributes

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


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]

Member Function Documentation

override void ORKFramework.ImagePortrait.SetData ( DataObject  data)

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

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BasePortrait.