Exemplo n.º 1
0
 public ShadowCameraSetupPtr(ShadowCameraSetupPtr r) : this(OgrePINVOKE.new_ShadowCameraSetupPtr__SWIG_2(ShadowCameraSetupPtr.getCPtr(r)), true)
 {
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 2
0
 public void setCustomShadowCameraSetup(ShadowCameraSetupPtr customShadowSetup)
 {
     OgrePINVOKE.Light_setCustomShadowCameraSetup(swigCPtr, ShadowCameraSetupPtr.getCPtr(customShadowSetup));
     if (OgrePINVOKE.SWIGPendingException.Pending)
     {
         throw OgrePINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemplo n.º 3
0
        public new static ShadowCameraSetupPtr create()
        {
            ShadowCameraSetupPtr ret = new ShadowCameraSetupPtr(OgrePINVOKE.PSSMShadowCameraSetup_create(), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 4
0
        public ShadowCameraSetupPtr create(MovablePlane plane)
        {
            ShadowCameraSetupPtr ret = new ShadowCameraSetupPtr(OgrePINVOKE.PlaneOptimalShadowCameraSetupPtr_create(swigCPtr, MovablePlane.getCPtr(plane)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static ShadowCameraSetupPtr create(float n, bool useSimpleNOpt)
        {
            ShadowCameraSetupPtr ret = new ShadowCameraSetupPtr(OgrePINVOKE.LiSPSMShadowCameraSetup_create__SWIG_1(n, useSimpleNOpt), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public ShadowCameraSetupPtr create()
        {
            ShadowCameraSetupPtr ret = new ShadowCameraSetupPtr(OgrePINVOKE.DefaultShadowCameraSetupPtr_create(swigCPtr), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
        public static ShadowCameraSetupPtr create(bool useAggressiveRegion)
        {
            ShadowCameraSetupPtr ret = new ShadowCameraSetupPtr(OgrePINVOKE.FocusedShadowCameraSetup_create__SWIG_0(useAggressiveRegion), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 8
0
        public ShadowCameraSetupPtr getCustomShadowCameraSetup()
        {
            ShadowCameraSetupPtr ret = new ShadowCameraSetupPtr(OgrePINVOKE.Light_getCustomShadowCameraSetup(swigCPtr), false);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 9
0
        public ShadowCameraSetupPtr create(float n, bool useSimpleNOpt, Degree angle)
        {
            ShadowCameraSetupPtr ret = new ShadowCameraSetupPtr(OgrePINVOKE.LiSPSMShadowCameraSetupPtr_create__SWIG_0(swigCPtr, n, useSimpleNOpt, Degree.getCPtr(angle)), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 10
0
        public ShadowCameraSetupPtr create(float n)
        {
            ShadowCameraSetupPtr ret = new ShadowCameraSetupPtr(OgrePINVOKE.LiSPSMShadowCameraSetupPtr_create__SWIG_2(swigCPtr, n), true);

            if (OgrePINVOKE.SWIGPendingException.Pending)
            {
                throw OgrePINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 11
0
                public static ShadowCameraSetupPtr FromBaseObject(BaseObject baseObj)
                {
                    if (baseObj == null || baseObj.NativeObject == IntPtr.Zero)
                    {
                        return(null);
                    }
                    ShadowCameraSetupPtr obj = baseObj as  ShadowCameraSetupPtr;

                    if (object.Equals(obj, null))
                    {
                        obj = new ShadowCameraSetupPtr(CreatedWhenConstruct.CWC_NotToCreate);
                        obj.BindNativeObject(baseObj.NativeObject, "ShadowCameraSetupPtr");
                        obj.IncreaseCast();
                    }

                    return(obj);
                }
Exemplo n.º 12
0
                public BaseObject Create()
                {
                    ShadowCameraSetupPtr emptyInstance = new ShadowCameraSetupPtr(CreatedWhenConstruct.CWC_NotToCreate);

                    return(emptyInstance);
                }
Exemplo n.º 13
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ShadowCameraSetupPtr obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }