C# Class Radegast.Rendering.VisualParamEx

显示文件 Open project: radegastdev/radegast Class Usage Examples

Public Properties

Property Type Description
AlphaParams VisualAlphaParam?
BoneDeforms BoneDeform>.Dictionary
ColorParams VisualColorParam?
DefaultValue float
Drivers int[]
Group int
IsBumpAttribute bool
Label string
LabelMax string
LabelMin string
MaxValue float
MinValue float
Name string
ParamID int
VolumeDeforms VolumeDeform>.Dictionary
Wearable string
allParams VisualParamEx>.Dictionary
childparams List
count int
identicalIds List
meshname string
morphmesh string
pType ParamType
sex EparamSex
tweakable_params System.Collections.SortedList

Public Methods

Method Description
VisualParamEx ( XmlNode node ) : ThreadPoolUtil
VisualParamEx ( int paramID, string name, int group, string wearable, string label, string labelMin, string labelMax, float def, float min, float max, bool isBumpAttribute, int drivers, OpenMetaverse.VisualAlphaParam alpha, OpenMetaverse.VisualColorParam colorParams ) : ThreadPoolUtil

Set all the values through the constructor

XmlParseRotation ( string data ) : Quaternion
XmlParseVector ( string data ) : System.Vector3
matchchildnode ( string test, XmlNode node ) : bool

Private Methods

Method Description
ParseBoneDeforms ( XmlNodeList deforms ) : void
ParseDrivers ( XmlNodeList drivennodes ) : void
ParseVolumeDeforms ( XmlNodeList deforms ) : void

Method Details

VisualParamEx() public method

public VisualParamEx ( XmlNode node ) : ThreadPoolUtil
node System.Xml.XmlNode
return ThreadPoolUtil

VisualParamEx() public method

Set all the values through the constructor
public VisualParamEx ( int paramID, string name, int group, string wearable, string label, string labelMin, string labelMax, float def, float min, float max, bool isBumpAttribute, int drivers, OpenMetaverse.VisualAlphaParam alpha, OpenMetaverse.VisualColorParam colorParams ) : ThreadPoolUtil
paramID int Index of this visual param
name string Internal name
group int
wearable string
label string Displayable label of this characteristic
labelMin string Displayable label for the minimum value of this characteristic
labelMax string Displayable label for the maximum value of this characteristic
def float Default value
min float Minimum value
max float Maximum value
isBumpAttribute bool Is this param used for creation of bump layer?
drivers int Array of param IDs that are drivers for this parameter
alpha OpenMetaverse.VisualAlphaParam Alpha blending/bump info
colorParams OpenMetaverse.VisualColorParam Color information
return ThreadPoolUtil

XmlParseRotation() public static method

public static XmlParseRotation ( string data ) : Quaternion
data string
return Quaternion

XmlParseVector() public static method

public static XmlParseVector ( string data ) : System.Vector3
data string
return System.Vector3

matchchildnode() public method

public matchchildnode ( string test, XmlNode node ) : bool
test string
node System.Xml.XmlNode
return bool

Property Details

AlphaParams public_oe property

Alpha blending/bump info
public VisualAlphaParam? AlphaParams
return VisualAlphaParam?

BoneDeforms public_oe property

public Dictionary BoneDeforms
return BoneDeform>.Dictionary

ColorParams public_oe property

Color information
public VisualColorParam? ColorParams
return VisualColorParam?

DefaultValue public_oe property

Default value
public float DefaultValue
return float

Drivers public_oe property

Array of param IDs that are drivers for this parameter
public int[] Drivers
return int[]

Group public_oe property

Group ID this parameter belongs to
public int Group
return int

IsBumpAttribute public_oe property

Is this param used for creation of bump layer?
public bool IsBumpAttribute
return bool

Label public_oe property

Displayable label of this characteristic
public string Label
return string

LabelMax public_oe property

Displayable label for the maximum value of this characteristic
public string LabelMax
return string

LabelMin public_oe property

Displayable label for the minimum value of this characteristic
public string LabelMin
return string

MaxValue public_oe property

Maximum value
public float MaxValue
return float

MinValue public_oe property

Minimum value
public float MinValue
return float

Name public_oe property

Internal name
public string Name
return string

ParamID public_oe property

Index of this visual param
public int ParamID
return int

VolumeDeforms public_oe property

public Dictionary VolumeDeforms
return VolumeDeform>.Dictionary

Wearable public_oe property

Name of the wearable this parameter belongs to
public string Wearable
return string

allParams public_oe static_oe property

public static Dictionary allParams
return VisualParamEx>.Dictionary

childparams public_oe property

public List childparams
return List

count public_oe static_oe property

public static int count
return int

identicalIds public_oe property

public List identicalIds
return List

meshname public_oe property

public string meshname
return string

morphmesh public_oe property

public string morphmesh
return string

pType public_oe property

public ParamType pType
return ParamType

sex public_oe property

The Avatar Sex that this parameter applies to
public EparamSex sex
return EparamSex

tweakable_params public_oe static_oe property

public static SortedList,System.Collections tweakable_params
return System.Collections.SortedList