Exemplo n.º 1
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));
        }
Exemplo n.º 2
0
 public Appearance(Appearance arg0) : this(VixenLibPINVOKE.new_Appearance__SWIG_3(Appearance.getCPtr(arg0)), true)
 {
     if (VixenLibPINVOKE.SWIGPendingException.Pending)
     {
         throw VixenLibPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
 public void SetPostProcess(Appearance arg0)
 {
     VixenLibPINVOKE.Scene_SetPostProcess(swigCPtr, Appearance.getCPtr(arg0));
 }
Exemplo n.º 4
0
 internal static HandleRef getCPtr(Appearance obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }
Exemplo n.º 5
0
 public void SetHilite(Appearance hilite)
 {
     VixenLibPINVOKE.Picker_SetHilite(swigCPtr, Appearance.getCPtr(hilite));
 }