예제 #1
0
        /// <summary>
        /// Contructs a new tick generating object.
        /// </summary>
        /// <param name="stepType">Determines how will ticks be distributed.</param>
        internal GUIGraphTicks(GUITickStepType stepType = GUITickStepType.Generic)
        {
            if (stepType == GUITickStepType.Generic)
            {
                SetGenericSteps();
            }
            else
            {
                SetTimeSteps();
            }

            Rebuild();
        }
 private static extern void Internal_GUIGraphTicks(GUIGraphTicks managedInstance, GUITickStepType stepType);
 /// <summary>Contructs a new tick generating object.</summary>
 /// <param name="stepType">Determines how will ticks be distributed.</param>
 public GUIGraphTicks(GUITickStepType stepType = GUITickStepType.Generic)
 {
     Internal_GUIGraphTicks(this, stepType);
 }