/// <description> /// Return a Point2F containing the position of the origin. /// </description> public Point2F GetOrigin() { InternalUnsafeMethods.GetOrigin__Args _args = new InternalUnsafeMethods.GetOrigin__Args() { }; Point2F.InternalStruct _engineResult = InternalUnsafeMethods.GetOrigin()(ObjectPtr, _args); return(new Point2F(_engineResult)); }
/// <summary>Mount objB to this object at the desired slot with optional transform.</summary> /// <description> /// /// </description> /// <param name="objB">Object to mount onto us</param> /// <param name="slot">Mount slot ID</param> /// <param name="txfm">(optional) mount offset transform</param> /// <returns>true if successful, false if failed (objB is not valid)</returns> public Point2F GetSelectedFaceUVOffset() { InternalUnsafeMethods.GetSelectedFaceUVOffset__Args _args = new InternalUnsafeMethods.GetSelectedFaceUVOffset__Args() { }; Point2F.InternalStruct _engineResult = InternalUnsafeMethods.GetSelectedFaceUVOffset()(ObjectPtr, _args); return(new Point2F(_engineResult)); }
/// <description> /// Get the ratio between world-space units and pixels. /// </description> /// <returns>The amount of world-space units covered by the extent of a single pixel.</returns> public Point2F GetWorldToScreenScale() { InternalUnsafeMethods.GetWorldToScreenScale__Args _args = new InternalUnsafeMethods.GetWorldToScreenScale__Args() { }; Point2F.InternalStruct _engineResult = InternalUnsafeMethods.GetWorldToScreenScale()(ObjectPtr, _args); return(new Point2F(_engineResult)); }