OpenSim
|
Public Member Functions | |
string | ParamsToDisplayString () |
Human readable string representation of the parameters used to create a mesh. More... | |
PrimMesh (int sides, float profileStart, float profileEnd, float hollow, int hollowSides) | |
Constructs a PrimMesh object and creates the profile for extrusion. More... | |
void | Extrude (PathType pathType) |
Extrudes a profile along a path. More... | |
void | ExtrudeLinear () |
DEPRICATED - use Extrude(PathType.Linear) instead Extrudes a profile along a straight line path. Used for prim types box, cylinder, and prism. More... | |
void | ExtrudeCircular () |
DEPRICATED - use Extrude(PathType.Circular) instead Extrude a profile into a circular path prim mesh. Used for prim types torus, tube, and ring. More... | |
Coord | SurfaceNormal (int faceIndex) |
Calculate the surface normal for a face in the list of faces More... | |
PrimMesh | Copy () |
Duplicates a PrimMesh object. All object properties are copied by value, including lists. More... | |
void | CalcNormals () |
Calculate surface normals for all of the faces in the list of faces in this mesh More... | |
void | AddPos (float x, float y, float z) |
Adds a value to each XYZ vertex coordinate in the mesh More... | |
void | AddRot (Quat q) |
Rotates the mesh More... | |
void | Scale (float x, float y, float z) |
Scales the mesh More... | |
void | DumpRaw (String path, String name, String title) |
Dumps the mesh to a Blender compatible "Raw" format file More... | |
string | ParamsToDisplayString () |
Human readable string representation of the parameters used to create a mesh. More... | |
PrimMesh (int _sides, float _profileStart, float _profileEnd, float _hollow, int _hollowSides) | |
Constructs a PrimMesh object and creates the profile for extrusion. More... | |
void | Extrude (PathType pathType) |
Extrudes a profile along a path. More... | |
void | ExtrudeLinear () |
DEPRICATED - use Extrude(PathType.Linear) instead Extrudes a profile along a straight line path. Used for prim types box, cylinder, and prism. More... | |
void | ExtrudeCircular () |
DEPRICATED - use Extrude(PathType.Circular) instead Extrude a profile into a circular path prim mesh. Used for prim types torus, tube, and ring. More... | |
Coord | SurfaceNormal (int faceIndex) |
Calculate the surface normal for a face in the list of faces More... | |
PrimMesh | Copy () |
Duplicates a PrimMesh object. All object properties are copied by value, including lists. More... | |
void | AddPos (float x, float y, float z) |
Adds a value to each XYZ vertex coordinate in the mesh More... | |
void | AddRot (Quat q) |
Rotates the mesh More... | |
void | Scale (float x, float y, float z) |
Scales the mesh More... | |
void | DumpRaw (String path, String name, String title) |
Dumps the mesh to a Blender compatible "Raw" format file More... | |
Public Attributes | |
string | errorMessage = "" |
List< Coord > | coords |
List< Coord > | normals |
List< Face > | faces |
List< ViewerFace > | viewerFaces |
int | twistBegin = 0 |
int | twistEnd = 0 |
float | topShearX = 0.0f |
float | topShearY = 0.0f |
float | pathCutBegin = 0.0f |
float | pathCutEnd = 1.0f |
float | dimpleBegin = 0.0f |
float | dimpleEnd = 1.0f |
float | skew = 0.0f |
float | holeSizeX = 1.0f |
float | holeSizeY = 0.25f |
float | taperX = 0.0f |
float | taperY = 0.0f |
float | radius = 0.0f |
float | revolutions = 1.0f |
int | stepsPerRevolution = 24 |
bool | calcVertexNormals = false |
bool | viewerMode = false |
bool | sphereMode = false |
int | numPrimFaces = 0 |
Properties | |
int | ProfileOuterFaceNumber [get] |
int | ProfileHollowFaceNumber [get] |
bool | HasProfileCut [get, set] |
bool | HasHollow [get] |
Definition at line 1448 of file PrimMesher.cs.
|
inline |
Constructs a PrimMesh object and creates the profile for extrusion.
sides | |
profileStart | |
profileEnd | |
hollow | |
hollowSides |
Definition at line 1558 of file PrimMesher.cs.
|
inline |
Constructs a PrimMesh object and creates the profile for extrusion.
sides | |
profileStart | |
profileEnd | |
hollow | |
hollowSides | |
sphereMode |
Definition at line 1255 of file PrimMesher.cs.
|
inline |
Adds a value to each XYZ vertex coordinate in the mesh
x | |
y | |
z |
Definition at line 1628 of file PrimMesher.cs.
|
inline |
Adds a value to each XYZ vertex coordinate in the mesh
x | |
y | |
z |
Definition at line 2191 of file PrimMesher.cs.
|
inline |
|
inline |
|
inline |
Calculate surface normals for all of the faces in the list of faces in this mesh
Definition at line 2158 of file PrimMesher.cs.
|
inline |
Duplicates a PrimMesh object. All object properties are copied by value, including lists.
Definition at line 1593 of file PrimMesher.cs.
|
inline |
Duplicates a PrimMesh object. All object properties are copied by value, including lists.
Definition at line 2122 of file PrimMesher.cs.
|
inline |
Dumps the mesh to a Blender compatible "Raw" format file
path | |
name | |
title |
Definition at line 1687 of file PrimMesher.cs.
|
inline |
Dumps the mesh to a Blender compatible "Raw" format file
path | |
name | |
title |
Definition at line 2304 of file PrimMesher.cs.
|
inline |
Extrudes a profile along a path.
Definition at line 1287 of file PrimMesher.cs.
|
inline |
Extrudes a profile along a path.
Definition at line 1590 of file PrimMesher.cs.
|
inline |
DEPRICATED - use Extrude(PathType.Circular) instead Extrude a profile into a circular path prim mesh. Used for prim types torus, tube, and ring.
Definition at line 1552 of file PrimMesher.cs.
|
inline |
DEPRICATED - use Extrude(PathType.Circular) instead Extrude a profile into a circular path prim mesh. Used for prim types torus, tube, and ring.
Definition at line 2081 of file PrimMesher.cs.
|
inline |
DEPRICATED - use Extrude(PathType.Linear) instead Extrudes a profile along a straight line path. Used for prim types box, cylinder, and prism.
Definition at line 1541 of file PrimMesher.cs.
|
inline |
DEPRICATED - use Extrude(PathType.Linear) instead Extrudes a profile along a straight line path. Used for prim types box, cylinder, and prism.
Definition at line 2070 of file PrimMesher.cs.
|
inline |
Human readable string representation of the parameters used to create a mesh.
Definition at line 1204 of file PrimMesher.cs.
|
inline |
Human readable string representation of the parameters used to create a mesh.
Definition at line 1497 of file PrimMesher.cs.
|
inline |
|
inline |
|
inline |
Calculate the surface normal for a face in the list of faces
faceIndex |
Definition at line 1580 of file PrimMesher.cs.
|
inline |
Calculate the surface normal for a face in the list of faces
faceIndex |
Definition at line 2109 of file PrimMesher.cs.
bool PrimMesher.PrimMesh.calcVertexNormals = false |
Definition at line 1486 of file PrimMesher.cs.
List< Coord > PrimMesher.PrimMesh.coords |
Definition at line 1453 of file PrimMesher.cs.
float PrimMesher.PrimMesh.dimpleBegin = 0.0f |
Definition at line 1470 of file PrimMesher.cs.
float PrimMesher.PrimMesh.dimpleEnd = 1.0f |
Definition at line 1471 of file PrimMesher.cs.
string PrimMesher.PrimMesh.errorMessage = "" |
Definition at line 1450 of file PrimMesher.cs.
List< Face > PrimMesher.PrimMesh.faces |
Definition at line 1455 of file PrimMesher.cs.
float PrimMesher.PrimMesh.holeSizeX = 1.0f |
Definition at line 1473 of file PrimMesher.cs.
float PrimMesher.PrimMesh.holeSizeY = 0.25f |
Definition at line 1474 of file PrimMesher.cs.
List<Coord> PrimMesher.PrimMesh.normals |
Definition at line 1454 of file PrimMesher.cs.
int PrimMesher.PrimMesh.numPrimFaces = 0 |
Definition at line 1491 of file PrimMesher.cs.
float PrimMesher.PrimMesh.pathCutBegin = 0.0f |
Definition at line 1468 of file PrimMesher.cs.
float PrimMesher.PrimMesh.pathCutEnd = 1.0f |
Definition at line 1469 of file PrimMesher.cs.
float PrimMesher.PrimMesh.radius = 0.0f |
Definition at line 1477 of file PrimMesher.cs.
float PrimMesher.PrimMesh.revolutions = 1.0f |
Definition at line 1478 of file PrimMesher.cs.
float PrimMesher.PrimMesh.skew = 0.0f |
Definition at line 1472 of file PrimMesher.cs.
bool PrimMesher.PrimMesh.sphereMode = false |
Definition at line 1489 of file PrimMesher.cs.
int PrimMesher.PrimMesh.stepsPerRevolution = 24 |
Definition at line 1479 of file PrimMesher.cs.
float PrimMesher.PrimMesh.taperX = 0.0f |
Definition at line 1475 of file PrimMesher.cs.
float PrimMesher.PrimMesh.taperY = 0.0f |
Definition at line 1476 of file PrimMesher.cs.
float PrimMesher.PrimMesh.topShearX = 0.0f |
Definition at line 1466 of file PrimMesher.cs.
float PrimMesher.PrimMesh.topShearY = 0.0f |
Definition at line 1467 of file PrimMesher.cs.
int PrimMesher.PrimMesh.twistBegin = 0 |
Definition at line 1464 of file PrimMesher.cs.
int PrimMesher.PrimMesh.twistEnd = 0 |
Definition at line 1465 of file PrimMesher.cs.
List<ViewerFace> PrimMesher.PrimMesh.viewerFaces |
Definition at line 1457 of file PrimMesher.cs.
bool PrimMesher.PrimMesh.viewerMode = false |
Definition at line 1488 of file PrimMesher.cs.
|
get |
Definition at line 1545 of file PrimMesher.cs.
|
getset |
Definition at line 1540 of file PrimMesher.cs.
|
get |
Definition at line 1535 of file PrimMesher.cs.
|
get |
Definition at line 1530 of file PrimMesher.cs.