public ShadowCameraSetupPtr(ShadowCameraSetupPtr r) : this(OgrePINVOKE.new_ShadowCameraSetupPtr__SWIG_2(ShadowCameraSetupPtr.getCPtr(r)), true) { if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public void setCustomShadowCameraSetup(ShadowCameraSetupPtr customShadowSetup) { OgrePINVOKE.Light_setCustomShadowCameraSetup(swigCPtr, ShadowCameraSetupPtr.getCPtr(customShadowSetup)); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } }
public new static ShadowCameraSetupPtr create() { ShadowCameraSetupPtr ret = new ShadowCameraSetupPtr(OgrePINVOKE.PSSMShadowCameraSetup_create(), true); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }
public ShadowCameraSetupPtr getCustomShadowCameraSetup() { ShadowCameraSetupPtr ret = new ShadowCameraSetupPtr(OgrePINVOKE.Light_getCustomShadowCameraSetup(swigCPtr), false); if (OgrePINVOKE.SWIGPendingException.Pending) { throw OgrePINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
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); }
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); }
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); }
public BaseObject Create() { ShadowCameraSetupPtr emptyInstance = new ShadowCameraSetupPtr(CreatedWhenConstruct.CWC_NotToCreate); return(emptyInstance); }
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); }