ParticleSystemCurveEditor.CurveData.CurveData C# (CSharp) Méthode

CurveData() public méthode

public CurveData ( string name, GUIContent displayName, UnityEditor.SerializedProperty min, UnityEditor.SerializedProperty max, Color color, bool signedRange, CurveWrapper getAxisScalars, CurveWrapper setAxisScalars, bool visible ) : System
name string
displayName GUIContent
min UnityEditor.SerializedProperty
max UnityEditor.SerializedProperty
color Color
signedRange bool
getAxisScalars UnityEditor.CurveWrapper
setAxisScalars UnityEditor.CurveWrapper
visible bool
Résultat System
        public CurveData(string name, GUIContent displayName, SerializedProperty min, SerializedProperty max, Color color, bool signedRange, CurveWrapper.GetAxisScalarsCallback getAxisScalars, CurveWrapper.SetAxisScalarsCallback setAxisScalars, bool visible)
        {
            this.m_UniqueName = name;
            this.m_DisplayName = displayName;
            this.m_SignedRange = signedRange;
            this.m_Min = min;
            this.m_Max = max;
            if (this.m_Min != null)
            {
                this.m_MinId = ++s_IdCounter;
            }
            if (this.m_Max != null)
            {
                this.m_MaxId = ++s_IdCounter;
            }
            this.m_Color = color;
            this.m_GetAxisScalarsCallback = getAxisScalars;
            this.m_SetAxisScalarsCallback = setAxisScalars;
            this.m_Visible = visible;
            if ((this.m_Max == null) || (this.m_MaxId == 0))
            {
                Debug.LogError("Max curve should always be valid! (Min curve can be null)");
            }
        }
ParticleSystemCurveEditor.CurveData