public void SetColor(SWIGTYPE_p_ColourValue color)
 {
     testPINVOKE.MovableTextOverlayAttributes_SetColor(swigCPtr, SWIGTYPE_p_ColourValue.getCPtr(color));
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
 public MovableTextOverlayAttributes(SWIGTYPE_p_String name, SWIGTYPE_p_Camera cam, SWIGTYPE_p_String fontName, SWIGTYPE_p_f32 charHeight, SWIGTYPE_p_ColourValue color) : this(testPINVOKE.new_MovableTextOverlayAttributes__SWIG_1(SWIGTYPE_p_String.getCPtr(name), SWIGTYPE_p_Camera.getCPtr(cam), SWIGTYPE_p_String.getCPtr(fontName), SWIGTYPE_p_f32.getCPtr(charHeight), SWIGTYPE_p_ColourValue.getCPtr(color)), true)
 {
     if (testPINVOKE.SWIGPendingException.Pending)
     {
         throw testPINVOKE.SWIGPendingException.Retrieve();
     }
 }
    public SWIGTYPE_p_ColourValue GetColor()
    {
        SWIGTYPE_p_ColourValue ret = new SWIGTYPE_p_ColourValue(testPINVOKE.MovableTextOverlayAttributes_GetColor(swigCPtr), false);

        return(ret);
    }
示例#4
0
 internal static HandleRef getCPtr(SWIGTYPE_p_ColourValue obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }