Exemplo n.º 1
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();
     }
 }
    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.º 3
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_LPRAGDOLLENTITY obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }