/// <description> /// Get the object's scale. /// </description> /// <returns>object scale as a Point3F</returns> public Point3F GetScale() { InternalUnsafeMethods.GetScale__Args _args = new InternalUnsafeMethods.GetScale__Args() { }; Point3F.InternalStruct _engineResult = InternalUnsafeMethods.GetScale()(ObjectPtr, _args); return(new Point3F(_engineResult)); }
/// <summary>Get any scaling on the specified device and action.</summary> /// <description> /// /// </description> /// <param name="device">The device that was bound. Can be keyboard, mouse, joystick or gamepad.</param> /// <param name="action">The device action that was bound. The action is dependant upon the device. Specify a key for keyboards.</param> /// <returns>Any scaling applied to the specified device and action.</returns> /// <code> /// %scale = %moveMap.getScale( "gamepad", "thumbrx"); /// </code> public float GetScale(string device, string action) { InternalUnsafeMethods.GetScale__Args _args = new InternalUnsafeMethods.GetScale__Args() { device = device, action = action, }; float _engineResult = InternalUnsafeMethods.GetScale()(ObjectPtr, _args); return _engineResult; }