Свойство | Тип | Описание | |
---|---|---|---|
coords | List |
||
faces | List |
||
normals | List |
||
uvs | List |
||
viewerFaces | List |
Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | void |
public AddRot ( PrimMesher.Quat q ) : void | ||
q | PrimMesher.Quat | |
Результат | void |
public DumpRaw ( String path, String name, String title ) : void | ||
path | String | |
name | String | |
title | String | |
Результат | void |
public Scale ( float x, float y, float z ) : void | ||
x | float | |
y | float | |
z | float | |
Результат | void |
public SculptMesh ( |
||
sculptBitmap | ||
sculptType | SculptType | |
lod | int | |
viewerMode | bool | |
Результат | System |
public SculptMesh ( |
||
sculptBitmap | ||
sculptType | SculptType | |
lod | int | |
viewerMode | bool | |
mirror | bool | |
invert | bool | |
Результат | System |
public SculptMesh ( List |
||
rows | List |
|
sculptType | SculptType | |
viewerMode | bool | |
mirror | bool | |
invert | bool | |
Результат | System |
public SculptMesh ( |
||
sm | ||
Результат | 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 | |
Результат | 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 | |
Результат | System |
public SculptMeshFromFile ( string fileName, SculptType sculptType, int lod, bool viewerMode ) : |
||
fileName | string | |
sculptType | SculptType | |
lod | int | |
viewerMode | bool | |
Результат |
public _SculptMesh ( |
||
sculptBitmap | ||
sculptType | SculptType | |
lod | int | |
viewerMode | bool | |
mirror | bool | |
invert | bool | |
Результат | void |
public _SculptMesh ( List |
||
rows | List |
|
sculptType | SculptType | |
viewerMode | bool | |
mirror | bool | |
invert | bool | |
Результат | void |