TriLib  1.9.0
TriLib Unity Package
TriLib.AssetAdvancedConfig Class Reference

Represents an asset advanced config. More...

Public Member Functions

 AssetAdvancedConfig ()
 Initializes a new instance of the TriLib.AssetAdvancedConfig class. More...
 
 AssetAdvancedConfig (string key)
 Initializes a new instance of the TriLib.AssetAdvancedConfig class. More...
 
 AssetAdvancedConfig (string key, int defaultValue)
 Initializes a new instance of the TriLib.AssetAdvancedConfig class. More...
 
 AssetAdvancedConfig (string key, float defaultValue)
 Initializes a new instance of the TriLib.AssetAdvancedConfig class. More...
 
 AssetAdvancedConfig (string key, bool defaultValue)
 Initializes a new instance of the TriLib.AssetAdvancedConfig class. More...
 
 AssetAdvancedConfig (string key, string defaultValue)
 Initializes a new instance of the TriLib.AssetAdvancedConfig class. More...
 
 AssetAdvancedConfig (string key, AiComponent defaultValue)
 Initializes a new instance of the TriLib.AssetAdvancedConfig class. More...
 
 AssetAdvancedConfig (string key, AiPrimitiveType defaultValue)
 Initializes a new instance of the TriLib.AssetAdvancedConfig class. More...
 
 AssetAdvancedConfig (string key, AiUVTransform defaultValue)
 Initializes a new instance of the TriLib.AssetAdvancedConfig class. More...
 
 AssetAdvancedConfig (string key, UnityEngine.Vector3 translation, UnityEngine.Vector3 rotation, UnityEngine.Vector3 scale)
 Initializes a new instance of the TriLib.AssetAdvancedConfig class. More...
 

Static Public Member Functions

static AssetAdvancedConfig CreateConfig (AssetAdvancedPropertyClassNames className, int value)
 Creates a new integer advanced config. More...
 
static AssetAdvancedConfig CreateConfig (AssetAdvancedPropertyClassNames className, float value)
 Creates a new float advanced config. More...
 
static AssetAdvancedConfig CreateConfig (AssetAdvancedPropertyClassNames className, bool value)
 Creates a new bool advanced config. More...
 
static AssetAdvancedConfig CreateConfig (AssetAdvancedPropertyClassNames className, string value)
 Creates a new string advanced config. More...
 
static AssetAdvancedConfig CreateConfig (AssetAdvancedPropertyClassNames className, AiComponent value)
 Creates a new AiComponent advanced config. More...
 
static AssetAdvancedConfig CreateConfig (AssetAdvancedPropertyClassNames className, AiPrimitiveType value)
 Creates a new AiPrimitiveType advanced config. More...
 
static AssetAdvancedConfig CreateConfig (AssetAdvancedPropertyClassNames className, AiUVTransform value)
 Creates a new AiUVTransform advanced config. More...
 
static AssetAdvancedConfig CreateConfig (AssetAdvancedPropertyClassNames className, UnityEngine.Vector3 translation, UnityEngine.Vector3 rotation, UnityEngine.Vector3 scale)
 Creates a new matrix advanced config. More...
 

Public Attributes

string Key
 Config Key. More...
 
int IntValue
 Config Integer value. More...
 
float FloatValue
 Config Float value. More...
 
bool BoolValue
 Config Bool value. More...
 
string StringValue
 Config String value. More...
 
UnityEngine.Vector3 TranslationValue
 Config Translation value. More...
 
UnityEngine.Vector3 RotationValue
 Config Rotation value. More...
 
UnityEngine.Vector3 ScaleValue
 Config Scale value. More...
 

Detailed Description

Represents an asset advanced config.

Constructor & Destructor Documentation

◆ AssetAdvancedConfig() [1/10]

TriLib.AssetAdvancedConfig.AssetAdvancedConfig ( )

Initializes a new instance of the TriLib.AssetAdvancedConfig class.

◆ AssetAdvancedConfig() [2/10]

TriLib.AssetAdvancedConfig.AssetAdvancedConfig ( string  key)

Initializes a new instance of the TriLib.AssetAdvancedConfig class.

Parameters
keyConfig Key.

◆ AssetAdvancedConfig() [3/10]

TriLib.AssetAdvancedConfig.AssetAdvancedConfig ( string  key,
int  defaultValue 
)

Initializes a new instance of the TriLib.AssetAdvancedConfig class.

Parameters
keyConfig Key.
defaultValueConfig default value.

◆ AssetAdvancedConfig() [4/10]

TriLib.AssetAdvancedConfig.AssetAdvancedConfig ( string  key,
float  defaultValue 
)

Initializes a new instance of the TriLib.AssetAdvancedConfig class.

Parameters
keyConfig Key.
defaultValueConfig default value.

◆ AssetAdvancedConfig() [5/10]

TriLib.AssetAdvancedConfig.AssetAdvancedConfig ( string  key,
bool  defaultValue 
)

Initializes a new instance of the TriLib.AssetAdvancedConfig class.

Parameters
keyConfig Key.
defaultValueConfig default value.

◆ AssetAdvancedConfig() [6/10]

TriLib.AssetAdvancedConfig.AssetAdvancedConfig ( string  key,
string  defaultValue 
)

Initializes a new instance of the TriLib.AssetAdvancedConfig class.

Parameters
keyConfig Key.
defaultValueConfig default value.

◆ AssetAdvancedConfig() [7/10]

TriLib.AssetAdvancedConfig.AssetAdvancedConfig ( string  key,
AiComponent  defaultValue 
)

Initializes a new instance of the TriLib.AssetAdvancedConfig class.

Parameters
keyConfig Key.
defaultValueConfig default value.

◆ AssetAdvancedConfig() [8/10]

TriLib.AssetAdvancedConfig.AssetAdvancedConfig ( string  key,
AiPrimitiveType  defaultValue 
)

Initializes a new instance of the TriLib.AssetAdvancedConfig class.

Parameters
keyConfig Key.
defaultValueConfig default value.

◆ AssetAdvancedConfig() [9/10]

TriLib.AssetAdvancedConfig.AssetAdvancedConfig ( string  key,
AiUVTransform  defaultValue 
)

Initializes a new instance of the TriLib.AssetAdvancedConfig class.

Parameters
keyConfig Key.
defaultValueConfig default value.

◆ AssetAdvancedConfig() [10/10]

TriLib.AssetAdvancedConfig.AssetAdvancedConfig ( string  key,
UnityEngine.Vector3  translation,
UnityEngine.Vector3  rotation,
UnityEngine.Vector3  scale 
)

Initializes a new instance of the TriLib.AssetAdvancedConfig class.

Parameters
keyConfig Key.
translationTranslation default value.
rotationRotation default value.
scaleScale default value.

Member Function Documentation

◆ CreateConfig() [1/8]

static AssetAdvancedConfig TriLib.AssetAdvancedConfig.CreateConfig ( AssetAdvancedPropertyClassNames  className,
int  value 
)
static

Creates a new integer advanced config.

Returns
The config.
Parameters
classNameConfig class name.
valueConfig value.

◆ CreateConfig() [2/8]

static AssetAdvancedConfig TriLib.AssetAdvancedConfig.CreateConfig ( AssetAdvancedPropertyClassNames  className,
float  value 
)
static

Creates a new float advanced config.

Returns
The config.
Parameters
classNameConfig class name.
valueConfig value.

◆ CreateConfig() [3/8]

static AssetAdvancedConfig TriLib.AssetAdvancedConfig.CreateConfig ( AssetAdvancedPropertyClassNames  className,
bool  value 
)
static

Creates a new bool advanced config.

Returns
The config.
Parameters
classNameConfig class name.
valueConfig value.

◆ CreateConfig() [4/8]

static AssetAdvancedConfig TriLib.AssetAdvancedConfig.CreateConfig ( AssetAdvancedPropertyClassNames  className,
string  value 
)
static

Creates a new string advanced config.

Returns
The config.
Parameters
classNameConfig class name.
valueConfig value.

◆ CreateConfig() [5/8]

static AssetAdvancedConfig TriLib.AssetAdvancedConfig.CreateConfig ( AssetAdvancedPropertyClassNames  className,
AiComponent  value 
)
static

Creates a new AiComponent advanced config.

Returns
The config.
Parameters
classNameConfig class name.
valueConfig value.

◆ CreateConfig() [6/8]

static AssetAdvancedConfig TriLib.AssetAdvancedConfig.CreateConfig ( AssetAdvancedPropertyClassNames  className,
AiPrimitiveType  value 
)
static

Creates a new AiPrimitiveType advanced config.

Returns
The config.
Parameters
classNameConfig class name.
valueConfig value.

◆ CreateConfig() [7/8]

static AssetAdvancedConfig TriLib.AssetAdvancedConfig.CreateConfig ( AssetAdvancedPropertyClassNames  className,
AiUVTransform  value 
)
static

Creates a new AiUVTransform advanced config.

Returns
The config.
Parameters
classNameConfig class name.
valueConfig value.

◆ CreateConfig() [8/8]

static AssetAdvancedConfig TriLib.AssetAdvancedConfig.CreateConfig ( AssetAdvancedPropertyClassNames  className,
UnityEngine.Vector3  translation,
UnityEngine.Vector3  rotation,
UnityEngine.Vector3  scale 
)
static

Creates a new matrix advanced config.

Returns
The config.
Parameters
classNameConfig class name.
translationTranslation value.
rotationRotation value.
scaleScale value.

Member Data Documentation

◆ BoolValue

bool TriLib.AssetAdvancedConfig.BoolValue

Config Bool value.

◆ FloatValue

float TriLib.AssetAdvancedConfig.FloatValue

Config Float value.

◆ IntValue

int TriLib.AssetAdvancedConfig.IntValue

Config Integer value.

◆ Key

string TriLib.AssetAdvancedConfig.Key

Config Key.

◆ RotationValue

UnityEngine.Vector3 TriLib.AssetAdvancedConfig.RotationValue

Config Rotation value.

◆ ScaleValue

UnityEngine.Vector3 TriLib.AssetAdvancedConfig.ScaleValue

Config Scale value.

◆ StringValue

string TriLib.AssetAdvancedConfig.StringValue

Config String value.

◆ TranslationValue

UnityEngine.Vector3 TriLib.AssetAdvancedConfig.TranslationValue

Config Translation value.


The documentation for this class was generated from the following file: