b3dSetMidHandleBaseTexture

Sets base texture pivot to center (0.5, 0.5) for centered rotation/scaling. Takes entityHandle (mesh entity). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

entityHandle Int

Returns

Void

Quick Summary

Sets base texture pivot to center (0.5, 0.5) for centered rotation/scaling. Takes entityHandle (mesh entity). Returns nothing.

Technical Exegesis...

Sets base texture pivot to center (0.5, 0.5) for centered rotation/scaling. Takes entityHandle (mesh entity). Returns nothing. Convenience function wrapping b3dSetHandleBaseTexture(entityHandle, 0.5, 0.5).

This function centers pivot. Centered pivot: sets pivot to (0.5, 0.5) in UV space, middle of texture both horizontally and vertically, most common pivot point for natural rotation and scaling, equivalent to calling b3dSetHandleBaseTexture(entityHandle, 0.5, 0.5).

Example

Example.bam
; No example implemented yet