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.AssimpAssembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.2.1.0 (2026.2.1.0)
Syntaxpublic 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
BooleanTrue if the texture properties were added or modified
See Also