public virtual Result CreateCollisionRagdoll(float radius, bool usedynamicmotion, SWIGTYPE_p_LPRAGDOLLENTITY entity)
    {
        Result ret = new Result(IronSightEnginePINVOKE.IObject_CreateCollisionRagdoll(swigCPtr, radius, usedynamicmotion, SWIGTYPE_p_LPRAGDOLLENTITY.getCPtr(entity)), true);

        //
        if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
        {
            throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
        }
        return(ret);
    }
Exemplo n.º 2
0
 public virtual void SetPlayerModel(IObject obj, SWIGTYPE_p_LPRAGDOLLENTITY ragdoll)
 {
     IronSightEnginePINVOKE.ICamera_SetPlayerModel__SWIG_0(swigCPtr, IObject.getCPtr(obj), SWIGTYPE_p_LPRAGDOLLENTITY.getCPtr(ragdoll));
     if (IronSightEnginePINVOKE.SWIGPendingException.Pending)
     {
         throw IronSightEnginePINVOKE.SWIGPendingException.Retrieve();
     }
 }