• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Fusee类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中Fusee的典型用法代码示例。如果您正苦于以下问题:C# Fusee类的具体用法?C# Fusee怎么用?C# Fusee使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



Fusee类属于命名空间,在下文中一共展示了Fusee类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: SetMl

  public void SetMl(ref Fusee.Math.Core.Matrix4D /* constMatrix&_cstype */ m) {
    double[] adbl_m;
    unsafe {adbl_m = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(m);    fixed (double *pdbl_m = adbl_m) {
    /* constMatrix&_csin_pre */
    try {
      C4dApiPINVOKE.TextureTag_SetMl(swigCPtr, (IntPtr) pdbl_m /* constMatrix&_csin */);
    } finally {
        // NOP m = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_m);
        /* constMatrix&_csin_post */
    }
} } /* constMatrix&_csin_terminator */
  }
开发者ID:pr1m3c0d3,项目名称:Fusee,代码行数:12,代码来源:TextureTag.cs


示例2: SetMg

  public void SetMg(ref Fusee.Math.Core.Matrix4D /* constMatrix&_cstype */ mg) {
    double[] adbl_mg;
    unsafe {adbl_mg = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(mg);    fixed (double *pdbl_mg = adbl_mg) {
    /* constMatrix&_csin_pre */
    try {
      C4dApiPINVOKE.BaseDrawHelp_SetMg(swigCPtr, (IntPtr) pdbl_mg /* constMatrix&_csin */);
    } finally {
        // NOP mg = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_mg);
        /* constMatrix&_csin_post */
    }
} } /* constMatrix&_csin_terminator */
  }
开发者ID:KilledChicken,项目名称:Fusee,代码行数:12,代码来源:BaseDrawHelp.cs


示例3: GetModelingAxis

  public virtual void GetModelingAxis(BaseObject op, BaseDocument doc, ref Fusee.Math.Core.Matrix4D /* Matrix*&_cstype */ axis) {
    double[] adbl_axis;
    unsafe {adbl_axis = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(axis);    fixed (double *pdbl_axis = adbl_axis) {
    /* Matrix*&_csin_pre */
    try {
      C4dApiPINVOKE.ObjectData_GetModelingAxis(swigCPtr, BaseObject.getCPtr(op), BaseDocument.getCPtr(doc), (IntPtr) pdbl_axis /* Matrix*&_csin */);
    } finally {
        axis = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_axis);
        /* Matrix*&_csin_post */
    }
} } /* Matrix*&_csin_terminator */
  }
开发者ID:KilledChicken,项目名称:Fusee,代码行数:12,代码来源:ObjectData.cs


示例4: Do

  public virtual bool Do(SWIGTYPE_p_void data, BaseObject op, ref Fusee.Math.Core.Matrix4D /* constMatrix&_cstype */ mg, bool controlobject) {
    double[] adbl_mg;
    unsafe {adbl_mg = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(mg);    fixed (double *pdbl_mg = adbl_mg) {
    /* constMatrix&_csin_pre */
    try {
      bool ret = C4dApiPINVOKE.Hierarchy_Do(swigCPtr, SWIGTYPE_p_void.getCPtr(data), BaseObject.getCPtr(op), (IntPtr) pdbl_mg /* constMatrix&_csin */, controlobject);
      return ret;
    } finally {
        // NOP mg = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_mg);
        /* constMatrix&_csin_post */
    }
} } /* constMatrix&_csin_terminator */
  }
开发者ID:KilledChicken,项目名称:Fusee,代码行数:13,代码来源:Hierarchy.cs


示例5: TestClipping3D

  public bool TestClipping3D(Fusee.Math.Core.Vector3D /* constVector&_cstype */ mp, Fusee.Math.Core.Vector3D /* constVector&_cstype */ rad, ref Fusee.Math.Core.Matrix4D /* constMatrix&_cstype */ mg, SWIGTYPE_p_Bool clip2d, SWIGTYPE_p_Bool clipz) {
    double[] adbl_mg;
    unsafe {adbl_mg = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(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 */, (IntPtr) pdbl_mg /* constMatrix&_csin */, SWIGTYPE_p_Bool.getCPtr(clip2d), SWIGTYPE_p_Bool.getCPtr(clipz));
      return ret;
    } finally {
        // NOP mg = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_mg);
        /* constMatrix&_csin_post */
    }
} } /* constMatrix&_csin_terminator */
  }
开发者ID:KilledChicken,项目名称:Fusee,代码行数:13,代码来源:BaseView.cs


示例6: GetBone

  public void GetBone(ref Fusee.Math.Core.Matrix4D /* Matrix*&_cstype */ m, SWIGTYPE_p_Real len) {
    double[] adbl_m;
    unsafe {adbl_m = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(m);    fixed (double *pdbl_m = adbl_m) {
    /* Matrix*&_csin_pre */
    try {
      C4dApiPINVOKE.CAJointObject_GetBone(swigCPtr, (IntPtr) pdbl_m /* Matrix*&_csin */, SWIGTYPE_p_Real.getCPtr(len));
      if (C4dApiPINVOKE.SWIGPendingException.Pending) throw C4dApiPINVOKE.SWIGPendingException.Retrieve();
    } finally {
        m = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_m);
        /* Matrix*&_csin_post */
    }
} } /* Matrix*&_csin_terminator */
  }
开发者ID:KilledChicken,项目名称:Fusee,代码行数:13,代码来源:CAJointObject.cs


示例7: GetViewParameter

 public void GetViewParameter(ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ offset, ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ scale, ref Fusee.Math.Core.Vector3D /* Vector*&_cstype */ scale_z) {
   C4dApiPINVOKE.BaseView_GetViewParameter(swigCPtr, ref offset /* Vector*&_csin */, ref scale /* Vector*&_csin */, ref scale_z /* Vector*&_csin */);
 }
开发者ID:KilledChicken,项目名称:Fusee,代码行数:3,代码来源:BaseView.cs


示例8: ProjectPointOnLine

 public Fusee.Math.Core.Vector3D /* Vector_cstype_out */ ProjectPointOnLine(Fusee.Math.Core.Vector3D /* constVector&_cstype */ p, Fusee.Math.Core.Vector3D /* constVector&_cstype */ v, double mouse_x, double mouse_y, SWIGTYPE_p_Real offset, SWIGTYPE_p_LONG err)  {  /* <Vector_csout> */
     Fusee.Math.Core.Vector3D ret = C4dApiPINVOKE.BaseView_ProjectPointOnLine__SWIG_0(swigCPtr, ref p /* constVector&_csin */, ref v /* constVector&_csin */, mouse_x, mouse_y, SWIGTYPE_p_Real.getCPtr(offset), SWIGTYPE_p_LONG.getCPtr(err));
     return ret;
  } /* <Vector_csout> */ 
开发者ID:KilledChicken,项目名称:Fusee,代码行数:4,代码来源:BaseView.cs


示例9: BackfaceCulling

   } /* <Vector_csout> */ 

  public bool BackfaceCulling(Fusee.Math.Core.Vector3D /* constVector&_cstype */ n, Fusee.Math.Core.Vector3D /* constVector&_cstype */ p) {
    bool ret = C4dApiPINVOKE.BaseView_BackfaceCulling(swigCPtr, ref n /* constVector&_csin */, ref p /* constVector&_csin */);
    return ret;
  }
开发者ID:KilledChicken,项目名称:Fusee,代码行数:6,代码来源:BaseView.cs


示例10: CS

   } /* <Vector_csout> */ 

  public Fusee.Math.Core.Vector3D /* Vector_cstype_out */ CS(Fusee.Math.Core.Vector3D /* constVector&_cstype */ p, bool z_inverse)  {  /* <Vector_csout> */
      Fusee.Math.Core.Vector3D ret = C4dApiPINVOKE.BaseView_CS(swigCPtr, ref p /* constVector&_csin */, z_inverse);
      return ret;
   } /* <Vector_csout> */ 
开发者ID:KilledChicken,项目名称:Fusee,代码行数:6,代码来源:BaseView.cs


示例11: OnPlayButtonDown

 private void OnPlayButtonDown(GUIButton sender, Fusee.Engine.MouseEventArgs mea)
 {
     //entfernen nicht benoetigter GUI Elemente
     _guiHandler.Remove(_guiButtonPlay);
     _guiHandler.Remove(_guiImageHelpButton);
     _guiHandler.Remove(_guiButtonHelp);
     _guiHandler.Remove(_guiImageStartBack);
     _guiHandler.Remove(_guiImageStartBee);
     _guiHandler.Remove(_guiImageStartPlay);
     _guiHandler.Remove(_guiImageGameHelp);
     _guiHandler.Remove(_guiImageHelpOne);
     _guiHandler.Remove(_guiImageHelpTwo);
     //Starten des Spiels
     _game._gameState = GameState.InGame;
 }
开发者ID:juradosa,项目名称:BeeTheGame,代码行数:15,代码来源:GUIRender.cs


示例12: OnHelpButtonDown

        private void OnHelpButtonDown(GUIButton sender, Fusee.Engine.MouseEventArgs mea)
        {
            _guiButtonPlay.OnGUIButtonDown += OnPlayButtonDown;
            _guiButtonPlay.OnGUIButtonDown += OnPlayButtonDown;
            //entfernen nicht benoetigter GUI Elemente
            _guiHandler.Remove(_guiImageStartBack);
            _guiHandler.Remove(_guiImageStartBee);
            _guiHandler.Remove(_guiButtonHelp);
            _guiHandler.Remove(_guiTextScore);
            _guiHandler.Remove(_guiImageHelpButton);
            //hinzufuegen der benoetigten GUI Elemente fuer Help Screen
            _guiHandler.Add(_guiImageGameHelp);
            _guiHandler.Add(_guiImageHelpOne);
            _guiHandler.Add(_guiImageHelpTwo);

            _game._gameState = GameState.GameHelp;
        }
开发者ID:juradosa,项目名称:BeeTheGame,代码行数:17,代码来源:GUIRender.cs


示例13: SetAbsRot

   } /* <Vector_csout> */ 

  public void SetAbsRot(Fusee.Math.Core.Vector3D /* constVector&_cstype */ v) {
    C4dApiPINVOKE.BaseObject_SetAbsRot(swigCPtr, ref v /* constVector&_csin */);
  }
开发者ID:KilledChicken,项目名称:Fusee,代码行数:5,代码来源:BaseObject.cs


示例14: SetR

 public void SetR(Fusee.Math.Core.Vector3D /* constVector&_cstype */ r) {
   C4dApiPINVOKE.CAMorphNode_SetR(swigCPtr, ref r /* constVector&_csin */);
 }
开发者ID:KilledChicken,项目名称:Fusee,代码行数:3,代码来源:CAMorphNode.cs


示例15: SetTangent

   } /* <Vector_csout> */ 

  public void SetTangent(int index, Fusee.Math.Core.Vector3D /* constVector&_cstype */ v) {
    C4dApiPINVOKE.CAMorphNode_SetTangent(swigCPtr, index, ref v /* constVector&_csin */);
  }
开发者ID:KilledChicken,项目名称:Fusee,代码行数:5,代码来源:CAMorphNode.cs


示例16: ToDirectX

 /// <summary>
 /// Converts a <see cref="Fusee.Math.Core.QuaternionF"/> to <see cref="Microsoft.DirectX.Quaternion"/>.
 /// </summary>
 /// <param name="value">The matrix value to convert.</param>
 /// <returns>A <see cref="Microsoft.DirectX.Quaternion"/> value.</returns>
 public static Microsoft.DirectX.Quaternion ToDirectX(Fusee.Math.Core.QuaternionF value)
 {
     return new Microsoft.DirectX.Quaternion(value.X, value.Y, value.Z, value.W);
 }
开发者ID:GameProduction,项目名称:ScharfschiessenGame,代码行数:9,代码来源:Convert.cs


示例17: SW_Reference

   } /* <Vector_csout> */ 

  public Fusee.Math.Core.Vector3D /* Vector_cstype_out */ SW_Reference(double x, double y, Fusee.Math.Core.Vector3D /* constVector&_cstype */ wp)  {  /* <Vector_csout> */
      Fusee.Math.Core.Vector3D ret = C4dApiPINVOKE.BaseView_SW_Reference(swigCPtr, x, y, ref wp /* constVector&_csin */);
      return ret;
   } /* <Vector_csout> */ 
开发者ID:KilledChicken,项目名称:Fusee,代码行数:6,代码来源:BaseView.cs


示例18: SetVector

 public void SetVector(Fusee.Math.Core.Vector3D /* constVector&_cstype */ v) {
   C4dApiPINVOKE.GeData_SetVector(swigCPtr, ref v /* constVector&_csin */);
 }
开发者ID:KilledChicken,项目名称:Fusee,代码行数:3,代码来源:GeData.cs


示例19: CW_V

   } /* <Vector_csout> */ 

  public Fusee.Math.Core.Vector3D /* Vector_cstype_out */ CW_V(Fusee.Math.Core.Vector3D /* constVector&_cstype */ v)  {  /* <Vector_csout> */
      Fusee.Math.Core.Vector3D ret = C4dApiPINVOKE.BaseView_CW_V(swigCPtr, ref v /* constVector&_csin */);
      return ret;
   } /* <Vector_csout> */ 
开发者ID:KilledChicken,项目名称:Fusee,代码行数:6,代码来源:BaseView.cs


示例20: SetMatrix

  public void SetMatrix(ref Fusee.Math.Core.Matrix4D /* constMatrix&_cstype */ v) {
    double[] adbl_v;
    unsafe {adbl_v = Fusee.Math.ArrayConversion.Convert.Matrix4DToArrayDoubleC4DLayout(v);    fixed (double *pdbl_v = adbl_v) {
    /* constMatrix&_csin_pre */
    try {
      C4dApiPINVOKE.GeData_SetMatrix(swigCPtr, (IntPtr) pdbl_v /* constMatrix&_csin */);
    } finally {
        // NOP v = Fusee.Math.ArrayConversion.Convert.ArrayDoubleC4DLayoutToMatrix4D(pdbl_v);
        /* constMatrix&_csin_post */
    }
} } /* constMatrix&_csin_terminator */
  }
开发者ID:KilledChicken,项目名称:Fusee,代码行数:12,代码来源:GeData.cs



注:本文中的Fusee类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Future类代码示例发布时间:2022-05-24
下一篇:
C# Funq类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap