Ejemplo n.º 1
0
 public Model(Model arg0) : this(VixenLibPINVOKE.new_Model__SWIG_0(Model.getCPtr(arg0)), true)
 {
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Ejemplo n.º 2
0
        public Shape MakeLimb(string name, Model parent, Quat jointrot, Vec3 jointpos, Appearance app, float bonelen, float bonewidth)
        {
            IntPtr cPtr = VixenLibPINVOKE.Skeleton_MakeLimb(swigCPtr, name, Model.getCPtr(parent), Quat.getCPtr(jointrot), Vec3.getCPtr(jointpos), Appearance.getCPtr(app), bonelen, bonewidth);

            if (VixenLibPINVOKE.SWIGPendingException.Pending)
            {
                throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
            }
            return((Shape)SharedObj.MakeObject(cPtr, true));
        }
Ejemplo n.º 3
0
        public bool RemoveCollider(Model arg0)
        {
            bool ret = VixenLibPINVOKE.Trigger_RemoveCollider(swigCPtr, Model.getCPtr(arg0));

            return(ret);
        }
Ejemplo n.º 4
0
 public virtual void AttachBones(Model root)
 {
     VixenLibPINVOKE.Skeleton_AttachBones__SWIG_2(swigCPtr, Model.getCPtr(root));
 }
Ejemplo n.º 5
0
 public virtual void AttachBones(Model root, Engine engroot)
 {
     VixenLibPINVOKE.Skeleton_AttachBones__SWIG_1(swigCPtr, Model.getCPtr(root), Engine.getCPtr(engroot));
 }
Ejemplo n.º 6
0
 public void AddModel(Model arg0)
 {
     VixenLibPINVOKE.Viewer3D_AddModel(swigCPtr, Model.getCPtr(arg0));
 }
Ejemplo n.º 7
0
 public void SetModels(Model m)
 {
     VixenLibPINVOKE.Viewer3D_SetModels(swigCPtr, Model.getCPtr(m));
 }
Ejemplo n.º 8
0
 public void SetPickShape(Model mod)
 {
     VixenLibPINVOKE.RayPicker_SetPickShape(swigCPtr, Model.getCPtr(mod));
 }
Ejemplo n.º 9
0
 public void TotalTransform(Matrix output, Model parent)
 {
     VixenLibPINVOKE.Model_TotalTransform__SWIG_1(swigCPtr, Matrix.getCPtr(output), Model.getCPtr(parent));
 }
Ejemplo n.º 10
0
 public static void Apply(Model root, int attr, int val)
 {
     VixenLibPINVOKE.Appearance_Apply(Model.getCPtr(root), attr, val);
 }
Ejemplo n.º 11
0
 public void ZoomToModel(Model arg0)
 {
     VixenLibPINVOKE.Scene_ZoomToModel(swigCPtr, Model.getCPtr(arg0));
 }