b3dRotateDetailTexture

Rotates entity detail texture UV (angle in degrees, requires BBR_TEXTURE_UV flag, auto-clones shared materials). Takes entityHandle (mesh entity handle), textureHandle (texture handle identifying which detail layer), angle (rotation angle in degrees double). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

entityHandle Int
textureHandle Int
angle Double

Returns

Void

Quick Summary

Rotates entity detail texture UV (angle in degrees, requires BBR_TEXTURE_UV flag, auto-clones shared materials). Takes entityHandle (mesh entity handle), textureHandle (texture handle identifying which detail layer), angle (rotation angle in degrees double). Returns nothing.

Technical Exegesis...

Rotates entity detail texture UV (angle in degrees, requires BBR_TEXTURE_UV flag, auto-clones shared materials). Takes entityHandle (mesh entity handle), textureHandle (texture handle identifying which detail layer), angle (rotation angle in degrees double). Returns nothing. Finds detail layer containing textureHandle, updates detailTextureRotation[i] to angle, controls detail texture rotation around UV center (0.5, 0.5). Requires mesh.

Example

Example.bam
; No example implemented yet