b3dBrushTexture

Sets brush base color texture (texture handle from b3dLoadTexture or similar). Takes brushHandle (brush handle), textureHandle (texture index from texture loading functions). Returns nothing.

3D Graphics

Parameters & Returns

Parameters

brushHandle Int
textureHandle Int

Returns

Void

Quick Summary

Sets brush base color texture (texture handle from b3dLoadTexture or similar). Takes brushHandle (brush handle), textureHandle (texture index from texture loading functions). Returns nothing.

Technical Exegesis...

Sets brush base color texture (texture handle from b3dLoadTexture or similar). Takes brushHandle (brush handle), textureHandle (texture index from texture loading functions). Returns nothing. Validates brush handle, stores textureHandle in brush.textureIndex. Texture multiplied with base color during rendering (texture color * brush color * vertex color).

This function assigns texture to brush for textured materials.

Example

Example.bam
; No example implemented yet