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 ( |
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 recommended 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 |
||
calcVertexNormals ( SculptType sculptType, int xSize, int ySize ) : void |
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 (
|
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 |
public calcVertexNormals ( SculptType sculptType, int xSize, int ySize ) : void | ||
sculptType | SculptType | |
xSize | int | |
ySize | int | |
return | void |