|
AssimpConverterTextureLoaderDelegate Delegate |
TextureLoaderDelegate delegate defines the method layout that loads the texture from the assimp data and sets the appropriate fields in the specified material.
Namespace: Ab4d.SharpEngine.AssimpAssembly: Ab4d.SharpEngine.Assimp (in Ab4d.SharpEngine.Assimp.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public delegate void TextureLoaderDelegate(
Material material,
string textureFileName,
CommonSamplerTypes wrapMode,
float blendFactor
)
Parameters
- material Material
- material that will be updated by the loaded texture (usually StandardMaterial)
- textureFileName String
- texture file name as specified in the loaded file
- wrapMode CommonSamplerTypes
- wrap mode
- blendFactor Single
- All color components (rgb) are multiplied with this factor before any further processing is done. 1 by default.
See Also