コード例 #1
0
 public static void LoopInputRelease(
     LoopInputRef loopInputRef)
 {
     ThrowOut(
         SULoopInputRelease(
             ref loopInputRef.intPtr),
         "Could not release loop.");
 }
コード例 #2
0
 public static void LoopInputCreate(
     LoopInputRef loopInputRef)
 {
     ThrowOut(
         SULoopInputCreate(
             out loopInputRef.intPtr),
         "Could not loop input.");
 }
コード例 #3
0
 public static void LoopInputAddVertexIndex(
     LoopInputRef loopInputRef,
     long index)
 {
     ThrowOut(
         SULoopInputAddVertexIndex(
             loopInputRef.intPtr,
             index),
         "Could not add vertex index.");
 }
コード例 #4
0
 public static void LoopInputEdgeSetSmooth(
     LoopInputRef loopInputRef,
     long index,
     bool smooth)
 {
     ThrowOut(
         SULoopInputEdgeSetSmooth(
             loopInputRef.intPtr,
             index, smooth),
         "Could not set edge smooth.");
 }
 public static void GeometryInputFaceAddInnerLoop(
     GeometryInputRef geometryInputRef,
     long faceIndex,
     LoopInputRef loopInputRef)
 {
     ThrowOut(
         SUGeometryInputFaceAddInnerLoop(
             geometryInputRef.intPtr,
             faceIndex,
             ref loopInputRef.intPtr),
         "Could not add inner loop.");
 }
コード例 #6
0
 public static void GeometryInputAddFace(
     GeometryInputRef geometryInputRef,
     LoopInputRef loopInputRef,
     out long index)
 {
     ThrowOut(
         SUGeometryInputAddFace(
             geometryInputRef.intPtr,
             ref loopInputRef.intPtr,
             out index),
         "Could not add face.");
 }
コード例 #7
0
 public static void FaceCreate(
     FaceRef faceRef,
     Point3D[] vertices,
     LoopInputRef outerLoop)
 {
     ThrowOut(
         SUFaceCreate(
             out faceRef.intPtr,
             vertices,
             ref outerLoop.intPtr),
         "Could not create face.");
 }
コード例 #8
0
 public static void LoopInputEdgeSetSoft(
     LoopInputRef loopInputRef,
     long index,
     bool soft)
 {
     ThrowOut(
         SULoopInputEdgeSetSoft(
             loopInputRef.intPtr,
             index,
             soft),
         "Could not set edge soft.");
 }