C# Class UnityEditor.AvatarMuscleEditor

Inheritance: AvatarSubEditor
Datei anzeigen Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Protected Properties

Property Type Description
m_Bones AvatarSetupTool.BoneWrapper[]
m_MasterMuscle int[][]
m_Muscles int[][]

Private Properties

Property Type Description
GetPreviewRect UnityEngine.Rect
GetSettingsRect UnityEngine.Rect
GetSettingsRect UnityEngine.Rect
HeaderGUI void
Initialize void
InitializeProperties void
PreviewSlider float
ResetValuesFromProperties void

Public Methods

Method Description
DrawMuscleHandle ( Transform t, int humanId ) : void
Enable ( UnityEditor.AvatarEditor inspector ) : void
OnInspectorGUI ( ) : void
OnSceneGUI ( ) : void

Protected Methods

Method Description
DisplayMuscleButtons ( ) : void
MuscleGUI ( ) : void
MuscleGroupGUI ( ) : void
PropertiesGUI ( ) : void
ResetMuscleToDefault ( ) : void
ResetValues ( ) : void
UpdateAvatarParameter ( HumanParameter parameterId, float value ) : void
UpdateMuscle ( int muscleId, float min, float max ) : bool
WritePose ( ) : void

Private Methods

Method Description
GetPreviewRect ( Rect wholeWidthRect ) : Rect
GetSettingsRect ( ) : Rect
GetSettingsRect ( Rect wholeWidthRect ) : Rect
HeaderGUI ( string h1, string h2 ) : void
Initialize ( ) : void
InitializeProperties ( ) : void
PreviewSlider ( Rect position, float val ) : float
ResetValuesFromProperties ( ) : void

Method Details

DisplayMuscleButtons() protected method

protected DisplayMuscleButtons ( ) : void
return void

DrawMuscleHandle() public method

public DrawMuscleHandle ( Transform t, int humanId ) : void
t UnityEngine.Transform
humanId int
return void

Enable() public method

public Enable ( UnityEditor.AvatarEditor inspector ) : void
inspector UnityEditor.AvatarEditor
return void

MuscleGUI() protected method

protected MuscleGUI ( ) : void
return void

MuscleGroupGUI() protected method

protected MuscleGroupGUI ( ) : void
return void

OnInspectorGUI() public method

public OnInspectorGUI ( ) : void
return void

OnSceneGUI() public method

public OnSceneGUI ( ) : void
return void

PropertiesGUI() protected method

protected PropertiesGUI ( ) : void
return void

ResetMuscleToDefault() protected method

protected ResetMuscleToDefault ( ) : void
return void

ResetValues() protected method

protected ResetValues ( ) : void
return void

UpdateAvatarParameter() protected method

protected UpdateAvatarParameter ( HumanParameter parameterId, float value ) : void
parameterId HumanParameter
value float
return void

UpdateMuscle() protected method

protected UpdateMuscle ( int muscleId, float min, float max ) : bool
muscleId int
min float
max float
return bool

WritePose() protected method

protected WritePose ( ) : void
return void

Property Details

m_Bones protected_oe property

protected AvatarSetupTool.BoneWrapper[] m_Bones
return AvatarSetupTool.BoneWrapper[]

m_MasterMuscle protected_oe property

protected int[][] m_MasterMuscle
return int[][]

m_Muscles protected_oe property

protected int[][] m_Muscles
return int[][]