Property | Type | Description | |
---|---|---|---|
coords | List |
||
faces | List |
||
normals | List |
||
uvs | List |
||
viewerFaces | List |
Method | Description | |
---|---|---|
AddPos ( float x, float y, float z ) : void |
Adds a value to each XYZ vertex coordinate in the mesh
|
|
AddRot ( PrimMesher.Quat q ) : void |
Rotates the mesh
|
|
Copy ( ) : |
Duplicates a SculptMesh object. All object properties are copied by value, including lists.
|
|
DumpRaw ( String path, String name, String title ) : void | ||
Scale ( float x, float y, float z ) : void | ||
SculptMesh ( |
||
SculptMesh ( |
||
SculptMesh ( List |
||
SculptMesh ( |
||
SculptMesh ( float zMap, float xBegin, float xEnd, float yBegin, float yEnd, bool viewerMode ) : System |
** Experimental ** May disappear from future versions ** not recommeneded for use in applications Construct a sculpt mesh from a 2D array of floats
|
|
SculptMesh ( string fileName, int sculptType, int lod, int viewerMode, int mirror, int invert ) : System | ||
SculptMeshFromFile ( string fileName, SculptType sculptType, int lod, bool viewerMode ) : |
||
_SculptMesh ( |
||
_SculptMesh ( List |
Method | Description | |
---|---|---|
bitmap2Coords (
|
converts a bitmap to a list of lists of coords, while scaling the image. the scaling is done in floating point so as to allow for reduced vertex position quantization as the position will be averaged between pixel values. this routine will likely fail if the bitmap width and height are not powers of 2.
|
|
bitmap2CoordsSampled (
|
||
calcVertexNormals ( SculptType sculptType, int xSize, int ySize ) : void |
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 Scale ( float x, float y, float z ) : void | ||
x | float | |
y | float | |
z | float | |
return | void |
public SculptMesh ( |
||
sculptBitmap | ||
sculptType | SculptType | |
lod | int | |
viewerMode | bool | |
return | System |
public SculptMesh ( |
||
sculptBitmap | ||
sculptType | SculptType | |
lod | int | |
viewerMode | bool | |
mirror | bool | |
invert | bool | |
return | System |
public SculptMesh ( List |
||
rows | List |
|
sculptType | SculptType | |
viewerMode | bool | |
mirror | bool | |
invert | bool | |
return | System |
public SculptMesh ( float zMap, float xBegin, float xEnd, float yBegin, float yEnd, bool viewerMode ) : System | ||
zMap | float | |
xBegin | float | |
xEnd | float | |
yBegin | float | |
yEnd | float | |
viewerMode | bool | |
return | System |
public SculptMesh ( string fileName, int sculptType, int lod, int viewerMode, int mirror, int invert ) : System | ||
fileName | string | |
sculptType | int | |
lod | int | |
viewerMode | int | |
mirror | int | |
invert | int | |
return | System |
public SculptMeshFromFile ( string fileName, SculptType sculptType, int lod, bool viewerMode ) : |
||
fileName | string | |
sculptType | SculptType | |
lod | int | |
viewerMode | bool | |
return |
public _SculptMesh ( |
||
sculptBitmap | ||
sculptType | SculptType | |
lod | int | |
viewerMode | bool | |
mirror | bool | |
invert | bool | |
return | void |
public _SculptMesh ( List |
||
rows | List |
|
sculptType | SculptType | |
viewerMode | bool | |
mirror | bool | |
invert | bool | |
return | void |