ORK Framework  2.24.0
API Documentation
ORKFramework.MusicClipSetting Class Reference
Inheritance diagram for ORKFramework.MusicClipSetting:
ORKFramework.BaseIndexData ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

 MusicClipSetting (string n)
 
override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
- 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

string name = ""
 
AssetSource< AudioClip > clip = new AssetSource<AudioClip>()
 
float maxVolume = 1
 
bool doLoop = false
 
MusicClipLoop[] clipLoop = new MusicClipLoop[0]
 

Additional Inherited Members

- Protected Attributes inherited from ORKFramework.BaseIndexData
int realID = 0
 
- Properties inherited from ORKFramework.BaseIndexData
virtual int RealID [get, set]
 

Member Function Documentation

override void ORKFramework.MusicClipSetting.SetData ( DataObject  data)
virtual

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.