public void DrawTexture(SWIGTYPE_p_C4DGLuint bmp, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ padr4, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ cadr, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ vnadr, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ uvadr, int pntcnt, DRAW_ALPHA alphamode) { C4dApiPINVOKE.BaseDraw_DrawTexture__SWIG_1(swigCPtr, SWIGTYPE_p_C4DGLuint.getCPtr(bmp), ref padr4 /* Vector*&_csin */, ref cadr /* Vector*&_csin */, ref vnadr /* Vector*&_csin */, ref uvadr /* Vector*&_csin */, pntcnt, (int)alphamode); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } }
public virtual void SetHandle(BaseObject op, int i, Fusee.Math.Core.double3 /* Vector_cstype */ p, HandleInfo info) { C4dApiPINVOKE.ObjectData_SetHandle(swigCPtr, BaseObject.getCPtr(op), i, p /* Vector_csin */, HandleInfo.getCPtr(info)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } }
public bool Triangulate(ref Fusee.Math.Core.double3 /* Vector*&_cstype */ pvPoints, int lPointCount, SWIGTYPE_p_Int32 plSegments, int lSegCnt, SWIGTYPE_p_p_CPolygon pPolys, SWIGTYPE_p_Int32 lPolyCount, int lFlags, SWIGTYPE_p_Int32 plMap) { bool ret = C4dApiPINVOKE.PolyTriangulate_Triangulate__SWIG_3(swigCPtr, ref pvPoints /* Vector*&_csin */, lPointCount, SWIGTYPE_p_Int32.getCPtr(plSegments), lSegCnt, SWIGTYPE_p_p_CPolygon.getCPtr(pPolys), SWIGTYPE_p_Int32.getCPtr(lPolyCount), lFlags, SWIGTYPE_p_Int32.getCPtr(plMap)); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool GetHighlightPassColor(BaseDrawHelp bh, bool lineObject, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ col) { bool ret = C4dApiPINVOKE.BaseDraw_GetHighlightPassColor(swigCPtr, BaseDrawHelp.getCPtr(bh), lineObject, ref col /* Vector*&_csin */); if (C4dApiPINVOKE.SWIGPendingException.Pending) { throw C4dApiPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public bool TestClipping3D(Fusee.Math.Core.double3 /* constVector&_cstype */ mp, Fusee.Math.Core.double3 /* constVector&_cstype */ rad, ref Fusee.Math.Core.double4x4 /* constMatrix&_cstype */ mg, SWIGTYPE_p_Bool clip2d, SWIGTYPE_p_Bool clipz) { double[] adbl_mg; unsafe { adbl_mg = Fusee.Math.ArrayConvert.double4x4ToArrayDoubleC4DLayout(mg); fixed(double *pdbl_mg = adbl_mg) { /* constMatrix&_csin_pre */ try { bool ret = C4dApiPINVOKE.BaseView_TestClipping3D(swigCPtr, ref mp /* constVector&_csin */, ref rad /* constVector&_csin */, (global::System.IntPtr)pdbl_mg /* constMatrix&_csin */, SWIGTYPE_p_Bool.getCPtr(clip2d), SWIGTYPE_p_Bool.getCPtr(clipz)); return(ret); } finally { // NOP mg = Fusee.Math.ArrayConvert.ArrayDoubleC4DLayoutTodouble4x4(pdbl_mg); /* constMatrix&_csin_post */ } } } /* constMatrix&_csin_terminator */ }
public Fusee.Math.Core.double3 /* Vector_cstype_out */ CalculateNewPosition(BaseDraw bd, ref Fusee.Math.Core.double4x4 /* constMatrix&_cstype */ mg, Fusee.Math.Core.double3 /* constVector&_cstype */ mouse_pos) { double[] adbl_mg; unsafe { adbl_mg = Fusee.Math.ArrayConvert.double4x4ToArrayDoubleC4DLayout(mg); fixed(double *pdbl_mg = adbl_mg) { /* constMatrix&_csin_pre */ try {/* <Vector_csout> */ Fusee.Math.Core.double3 ret = C4dApiPINVOKE.HandleInfo_CalculateNewPosition(swigCPtr, BaseDraw.getCPtr(bd), (global::System.IntPtr)pdbl_mg /* constMatrix&_csin */, ref mouse_pos /* constVector&_csin */); return(ret); } /* <Vector_csout> */ finally { // NOP mg = Fusee.Math.ArrayConvert.ArrayDoubleC4DLayoutTodouble4x4(pdbl_mg); /* constMatrix&_csin_post */ } } } /* constMatrix&_csin_terminator */ }
} /* <Vector_csout> */ public void SetTangent(int index, Fusee.Math.Core.double3 /* constVector&_cstype */ v) { C4dApiPINVOKE.CAMorphNode_SetTangent(swigCPtr, index, ref v /* constVector&_csin */); }
public void SetR(Fusee.Math.Core.double3 /* constVector&_cstype */ r) { C4dApiPINVOKE.CAMorphNode_SetR(swigCPtr, ref r /* constVector&_csin */); }
public Fusee.Math.Core.double3 /* Vector_cstype_out */ Sample(ChannelData cd) /* <Vector_csout> */ { Fusee.Math.Core.double3 ret = C4dApiPINVOKE.BaseShader_Sample(swigCPtr, ChannelData.getCPtr(cd)); return(ret); } /* <Vector_csout> */
public virtual bool MoveHandle(BaseObject op, BaseObject undo, Fusee.Math.Core.double3 /* constVector&_cstype */ mouse_pos, int hit_id, QUALIFIER qualifier, BaseDraw bd) { bool ret = C4dApiPINVOKE.ObjectData_MoveHandle(swigCPtr, BaseObject.getCPtr(op), BaseObject.getCPtr(undo), ref mouse_pos /* constVector&_csin */, hit_id, (int)qualifier, BaseDraw.getCPtr(bd)); return(ret); }
public Fusee.Math.Core.double3 /* Vector_cstype_out */ GetOffset() /* <Vector_csout> */ { Fusee.Math.Core.double3 ret = C4dApiPINVOKE.CameraObject_GetOffset(swigCPtr); return(ret); } /* <Vector_csout> */
/// <summary> /// Converts a <see cref="Fusee.Math.Core.double3"/> to a double array. /// </summary> /// <param name="value">The vector to convert.</param> /// <returns>A double array containing three values [x, y, z]</returns> public static double[] double3ToArrayDouble(Fusee.Math.Core.double3 value) { return(new double[] { value.x, value.y, value.z }); }
/// <summary> /// Converts a <see cref="Fusee.Math.Core.double3"/> to a float array. /// </summary> /// <param name="value">The vector to convert.</param> /// <returns>A float array containing three values [x, y, z]</returns> public static float[] double3ToArrayFloat(Fusee.Math.Core.double3 value) { return(new float[] { (float)value.x, (float)value.y, (float)value.z }); }
public double SimpleShade(Fusee.Math.Core.double3 /* constVector&_cstype */ p, Fusee.Math.Core.double3 /* constVector&_cstype */ n) { double ret = C4dApiPINVOKE.BaseDraw_SimpleShade(swigCPtr, ref p /* constVector&_csin */, ref n /* constVector&_csin */); return(ret); }
public bool PointInRange(Fusee.Math.Core.double3 /* constVector&_cstype */ p, int x, int y) { bool ret = C4dApiPINVOKE.BaseDraw_PointInRange(swigCPtr, ref p /* constVector&_csin */, x, y); return(ret); }
} /* <Vector_csout> */ public Fusee.Math.Core.double3 /* Vector_cstype_out */ GetSplineTangent(double t, int segment, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ padr) /* <Vector_csout> */ { Fusee.Math.Core.double3 ret = C4dApiPINVOKE.SplineObject_GetSplineTangent__SWIG_0(swigCPtr, t, segment, ref padr /* Vector*&_csin */); return(ret); } /* <Vector_csout> */
} /* <Vector_csout> */ public Fusee.Math.Core.double3 /* Vector_cstype_out */ GetSplineTangent(double t) /* <Vector_csout> */ { Fusee.Math.Core.double3 ret = C4dApiPINVOKE.SplineObject_GetSplineTangent__SWIG_2(swigCPtr, t); return(ret); } /* <Vector_csout> */
/// <summary> /// Copys a <see cref="Fusee.Math.Core.double3"/> to an existing float array. /// </summary> /// <param name="value">The source vector to convert.</param> /// <param name="pDst">A pointer to the destination float array [x, y, z]</param> public static unsafe void double3ToArrayFloat(Fusee.Math.Core.double3 value, float *pDst) { pDst[0] = (float)value.x; pDst[1] = (float)value.y; pDst[2] = (float)value.z; }
} /* <Vector_csout> */ public bool SetOffset(Fusee.Math.Core.double3 /* constVector&_cstype */ offset) { bool ret = C4dApiPINVOKE.CameraObject_SetOffset(swigCPtr, ref offset /* constVector&_csin */); return(ret); }
/// <summary> /// Copys a <see cref="Fusee.Math.Core.double3"/> to an existing double array. /// </summary> /// <param name="value">The source vector to convert.</param> /// <param name="pDst">A pointer to the destination double array [x, y, z]</param> public static unsafe void double3ToArrayDouble(Fusee.Math.Core.double3 value, double *pDst) { pDst[0] = value.x; pDst[1] = value.y; pDst[2] = value.z; }
public virtual void GetDimension(BaseObject op, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ mp, ref Fusee.Math.Core.double3 /* Vector*&_cstype */ rad) { C4dApiPINVOKE.ObjectData_GetDimension(swigCPtr, BaseObject.getCPtr(op), ref mp /* Vector*&_csin */, ref rad /* Vector*&_csin */); }
public Fusee.Math.Core.double3 /* Vector_cstype_out */ GetNormalAt(int inx) /* <Vector_csout> */ { Fusee.Math.Core.double3 ret = C4dApiPINVOKE.BrushObjectInfo_GetNormalAt(swigCPtr, inx); return(ret); } /* <Vector_csout> */
public UVWStruct(Fusee.Math.Core.double3 /* constVector&_cstype */ t_a, Fusee.Math.Core.double3 /* constVector&_cstype */ t_b, Fusee.Math.Core.double3 /* constVector&_cstype */ t_c) : this(C4dApiPINVOKE.new_UVWStruct__SWIG_3(ref t_a /* constVector&_csin */, ref t_b /* constVector&_csin */, ref t_c /* constVector&_csin */), true) { }
} /* <Vector_csout> */ public void SetNormalAt(int inx, Fusee.Math.Core.double3 /* Vector_cstype */ v) { C4dApiPINVOKE.BrushObjectInfo_SetNormalAt(swigCPtr, inx, v /* Vector_csin */); }
} /* <Vector_csout> */ public Fusee.Math.Core.double3 /* Vector_cstype_out */ SampleBump(ChannelData cd, SAMPLEBUMP bumpflags) /* <Vector_csout> */ { Fusee.Math.Core.double3 ret = C4dApiPINVOKE.BaseShader_SampleBump(swigCPtr, ChannelData.getCPtr(cd), (int)bumpflags); return(ret); } /* <Vector_csout> */
} /* <Vector_csout> */ public Fusee.Math.Core.double3 /* Vector_cstype_out */ GetAverageColor() /* <Vector_csout> */ { Fusee.Math.Core.double3 ret = C4dApiPINVOKE.BaseMaterial_GetAverageColor__SWIG_1(swigCPtr); return(ret); } /* <Vector_csout> */
public Fusee.Math.Core.double3 /* Vector_cstype_out */ GetTangent(int index) /* <Vector_csout> */ { Fusee.Math.Core.double3 ret = C4dApiPINVOKE.CAMorphNode_GetTangent(swigCPtr, index); return(ret); } /* <Vector_csout> */
} /* <Vector_csout> */ public void SetRelRot(Fusee.Math.Core.double3 /* constVector&_cstype */ v) { C4dApiPINVOKE.BaseObject_SetRelRot(swigCPtr, ref v /* constVector&_csin */); }
} /* <Vector_csout> */ public Fusee.Math.Core.double3 /* Vector_cstype_out */ GetS() /* <Vector_csout> */ { Fusee.Math.Core.double3 ret = C4dApiPINVOKE.CAMorphNode_GetS(swigCPtr); return(ret); } /* <Vector_csout> */
public Fusee.Math.Core.double3 /* Vector_cstype_out */ GetAbsPos() /* <Vector_csout> */ { Fusee.Math.Core.double3 ret = C4dApiPINVOKE.BaseObject_GetAbsPos(swigCPtr); return(ret); } /* <Vector_csout> */