b3dSetHandleBaseTexture

Sets base texture rotation/scale pivot point in UV space (0.0-1.0 range). Takes entityHandle (mesh entity), u (horizontal pivot 0.0-1.0), v (vertical pivot 0.0-1.0). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

entityHandle Int
u Double
v Double

Returns

Void

Quick Summary

Sets base texture rotation/scale pivot point in UV space (0.0-1.0 range). Takes entityHandle (mesh entity), u (horizontal pivot 0.0-1.0), v (vertical pivot 0.0-1.0). Returns nothing.

Technical Exegesis...

Sets base texture rotation/scale pivot point in UV space (0.0-1.0 range). Takes entityHandle (mesh entity), u (horizontal pivot 0.0-1.0), v (vertical pivot 0.0-1.0). Returns nothing. Sets material.baseTextureRotationPivot for texture transformations.

This function sets pivot point. Texture pivot: point around which texture rotates and scales, UV coordinates 0.0-1.0 (0.0=left/bottom, 1.0=right/top), default pivot is (0, 0) bottom-left corner, (0.5, 0.5) is center of texture.

Example

Example.bam
; No example implemented yet