Exemplo n.º 1
0
        public new static UsdRiPxrRampLightFilter Define(UsdStageWeakPtr stage, SdfPath path)
        {
            UsdRiPxrRampLightFilter ret = new UsdRiPxrRampLightFilter(UsdCsPINVOKE.UsdRiPxrRampLightFilter_Define(UsdStageWeakPtr.getCPtr(stage), SdfPath.getCPtr(path)), true);

            if (UsdCsPINVOKE.SWIGPendingException.Pending)
            {
                throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
Exemplo n.º 2
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(UsdRiPxrRampLightFilter obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }