Beispiel #1
0
 /// <description>
 /// Resets the viewport to default zoom, pan, rotate and lighting.
 /// </description>
 public void Reset()
 {
     InternalUnsafeMethods.Reset__Args _args = new InternalUnsafeMethods.Reset__Args()
     {
     };
     InternalUnsafeMethods.Reset()(ObjectPtr, _args);
 }
Beispiel #2
0
 /// <summary>Clear the camera's path and set the camera's current transform as the start of the new path.</summary>
 /// <description>
 /// What specifically occurs is a new knot is created from the camera's current transform.  Then the current path is cleared and the new knot is pushed onto the path.  Any previous target is cleared and the camera's movement state is set to Forward.  The camera is now ready for a new path to be defined.
 /// </description>
 /// <param name="speed">Speed for the camera to move along its path after being reset.</param>
 /// <code>
 /// //Determine the new movement speed of this camera. If not set, the speed will default to 1.0.
 /// %speed = "0.50";
 ///
 /// // Inform the path camera to start a new path at// the camera's current position, and set the new // path's speed value.
 /// %pathCamera.reset(%speed);
 /// </code>
 public void Reset(float speed = 1f)
 {
     InternalUnsafeMethods.Reset__Args _args = new InternalUnsafeMethods.Reset__Args()
     {
         speed = speed,
     };
     InternalUnsafeMethods.Reset()(ObjectPtr, _args);
 }
Beispiel #3
0
 /// <description>
 /// ( [int pTime] ) - Reset the Controller's and child object's state.
 /// </description>
 /// <param name="pTime">The target time to reset to.</param>
 /// <returns>No return value.</returns>
 public void Reset(int time = -1)
 {
     InternalUnsafeMethods.Reset__Args _args = new InternalUnsafeMethods.Reset__Args()
     {
         time = time,
     };
     InternalUnsafeMethods.Reset()(ObjectPtr, _args);
 }