Bézier(start, control1, control2, end, steps) Bézier(start, control1, control2, end, steps) BézierPatch(p00, p10, p20, p30, p01, p11, p21, p31, p02, p12, p22, p32, p03, p13, p23, p33, steps) Extrude(polygon, depth, includeBackFace, flatSideNormals) Extrude(polygons, depth, includeBackFace, flatSideNormals) Extrude(pieces, depth, smoothness, includeBackFace) pt(x, y, z, normalOverride) pt(x, y, z, befX, afX, befY, afY) Rotate(face, axisStart, axisEnd, angle) Rotate(faces, axisStart, axisEnd, angle) Rotate(faces, axisStart, axisEnd, angle) Rotate(faces, axisStart, axisEnd, angle) Rotate(faces, axisStart, axisEnd, angle) Rotate(vi, axisStart, axisEnd, angle) Rotate(face, axisStart, axisEnd, angle) Rotate(face, axisStart, axisEnd, angle) Rotate(face, axisStart, axisEnd, angle)
Legend Class Struct Enum Interface Delegate | Constructor Method Property Event Field |
| Static method: string GenerateObjFile(IEnumerable<Pt[]>, string, AutoNormal, bool)- Declared in: RT.Modeling.Md
Declarationpublic static string GenerateObjFile(
IEnumerable<Pt[]> faces,
string objectName = null,
AutoNormal autoNormal = AutoNormal.None,
bool uniqueVertices = false
) Summary
Writes the specified faces to an .obj file. ParametersIEnumerable<Pt[]> | faces |
The faces to output, provided as raw coordinates. | string | objectName |
The name of the object. | AutoNormal | autoNormal |
Specifies whether and how to generate normal vectors. | bool | uniqueVertices |
Specifies whether to duplicate coordinates for vertices re-used between faces. This exists to work around a
bug in Unity. |
Returns
The file contents as a string. |