Example #1
0
 public GfFrustum(GfMatrix4d camToWorldXf, GfRange2d window, GfRange1d nearFar, GfFrustum.ProjectionType projectionType) : this(UsdCsPINVOKE.new_GfFrustum__SWIG_4(GfMatrix4d.getCPtr(camToWorldXf), GfRange2d.getCPtr(window), GfRange1d.getCPtr(nearFar), (int)projectionType), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #2
0
 public GfFrustum.ProjectionType GetProjectionType()
 {
     GfFrustum.ProjectionType ret = (GfFrustum.ProjectionType)UsdCsPINVOKE.GfFrustum_GetProjectionType(swigCPtr);
     return(ret);
 }
Example #3
0
 public GfFrustum(GfVec3d position, GfRotation rotation, GfRange2d window, GfRange1d nearFar, GfFrustum.ProjectionType projectionType) : this(UsdCsPINVOKE.new_GfFrustum__SWIG_2(GfVec3d.getCPtr(position), GfRotation.getCPtr(rotation), GfRange2d.getCPtr(window), GfRange1d.getCPtr(nearFar), (int)projectionType), true)
 {
     if (UsdCsPINVOKE.SWIGPendingException.Pending)
     {
         throw UsdCsPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Example #4
0
 public void SetProjectionType(GfFrustum.ProjectionType projectionType)
 {
     UsdCsPINVOKE.GfFrustum_SetProjectionType(swigCPtr, (int)projectionType);
 }