b3dVertexCoords

Sets vertex position coordinates (with Y-axis negation). Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based), x/y/z (new position coordinates as doubles). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

mesh Int
surface Int
vertexIndex Int
x Double
y Double
z Double

Returns

Void

Quick Summary

Sets vertex position coordinates (with Y-axis negation). Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based), x/y/z (new position coordinates as doubles). Returns nothing.

Technical Exegesis...

Sets vertex position coordinates (with Y-axis negation). Takes mesh (surface-based mesh entity), surface (surface handle, 0-based), vertexIndex (vertex number, 0-based), x/y/z (new position coordinates as doubles). Returns nothing. Validates mesh exists, type is ENTITY_MESH, is surface-based, surface index valid, and vertex index valid. Sets position: position.x = x, position.y = -y (negated), position.z = z. Sets surface->needsGPUUpload=true and mesh->needsGPUUpload=true.

Example

Example.bam
; No example implemented yet