Property | Type | Description | |
---|---|---|---|
calcVertexNormals | bool | ||
coords | List |
||
dimpleBegin | float | ||
dimpleEnd | float | ||
errorMessage | string | ||
faces | List |
||
holeSizeX | float | ||
holeSizeY | float | ||
normals | List |
||
numPrimFaces | int | ||
pathCutBegin | float | ||
pathCutEnd | float | ||
radius | float | ||
revolutions | float | ||
skew | float | ||
sphereMode | bool | ||
stepsPerRevolution | int | ||
taperX | float | ||
taperY | float | ||
topShearX | float | ||
topShearY | float | ||
twistBegin | int | ||
twistEnd | int | ||
viewerFaces | List |
||
viewerMode | bool |
Method | Description | |
---|---|---|
AddPos ( float x, float y, float z ) : void |
Adds a value to each XYZ vertex coordinate in the mesh
|
|
AddRot ( |
Rotates the mesh
|
|
CalcNormals ( ) : void |
Calculate surface normals for all of the faces in the list of faces in this mesh
|
|
Copy ( ) : |
Duplicates a PrimMesh object. All object properties are copied by value, including lists.
|
|
DumpRaw ( string path, string name, string title ) : void |
Dumps the mesh to a Blender compatible "Raw" format file
|
|
Extrude ( PathType pathType ) : void |
Extrudes a profile along a path.
|
|
ExtrudeCircular ( ) : void |
DEPRICATED - use Extrude(PathType.Circular) instead Extrude a profile into a circular path prim mesh. Used for prim types torus, tube, and ring.
|
|
ExtrudeLinear ( ) : void |
DEPRICATED - use Extrude(PathType.Linear) instead Extrudes a profile along a straight line path. Used for prim types box, cylinder, and prism.
|
|
GetVertexIndexer ( ) : VertexIndexer | ||
ParamsToDisplayString ( ) : string |
Human readable string representation of the parameters used to create a mesh.
|
|
PrimMesh ( int sides, float profileStart, float profileEnd, float hollow, int hollowSides ) : System |
Constructs a PrimMesh object and creates the profile for extrusion.
|
|
Scale ( float x, float y, float z ) : void |
Scales the mesh
|
|
SurfaceNormal ( int faceIndex ) : Coord |
Calculate the surface normal for a face in the list of faces
|
Method | Description | |
---|---|---|
SurfaceNormal ( Coord c1, Coord c2, Coord c3 ) : Coord | ||
SurfaceNormal ( |
public AddPos ( float x, float y, float z ) : void | ||
x | float | |
y | float | |
z | float | |
return | void |
public DumpRaw ( string path, string name, string title ) : void | ||
path | string | |
name | string | |
title | string | |
return | void |
public PrimMesh ( int sides, float profileStart, float profileEnd, float hollow, int hollowSides ) : System | ||
sides | int | |
profileStart | float | |
profileEnd | float | |
hollow | float | |
hollowSides | int | |
return | System |
public Scale ( float x, float y, float z ) : void | ||
x | float | |
y | float | |
z | float | |
return | void |
public SurfaceNormal ( int faceIndex ) : Coord | ||
faceIndex | int | |
return | Coord |