프로퍼티 | 타입 | 설명 | |
---|---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
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
|
메소드 | 설명 | |
---|---|---|
SurfaceNormal ( Coord c1, Coord c2, Coord c3 ) : Coord | ||
SurfaceNormal ( |
public DumpRaw ( string path, string name, string title ) : void | ||
path | string | |
name | string | |
title | string | |
리턴 | void |
public PrimMesh ( int sides, float profileStart, float profileEnd, float hollow, int hollowSides ) : System | ||
sides | int | |
profileStart | float | |
profileEnd | float | |
hollow | float | |
hollowSides | int | |
리턴 | System |