Click or drag to resize

MaterialAddMaterialTexture(TextureSlot, Boolean) Method

Adds a texture to the material - this bulk creates a property for each field. This will either create properties or overwrite existing properties. If the texture has no file path, nothing is added.

Namespace: Internal.Assimp
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntax
C#
public bool AddMaterialTexture(
	 in TextureSlot texture,
	bool onlySetFilePath
)

Parameters

texture  TextureSlot
Texture to add
onlySetFilePath  Boolean
True to only set the texture's file path, false otherwise

Return Value

Boolean
True if the texture properties were added or modified
See Also