Scripting API
Scripting API
ModelTexture
Record in Abyss.Core.Scenes, from Abyss.Core.
One texture of a model.
public record ModelTextureConstructors
ModelTexture
public ModelTexture(string Label, string? File, ImportSettings Settings, string? Problem)One texture of a model.
Parameters
Label:Texture0, as Bevy's loader labels it.File: Where its image is, relative to the model, when that is a file of its own; null when the model carries it and it was imported beside the model's meshes.Settings: How the import read and samples one the model carries: as numbers or color, a normal map or not, its filter and wrap.Problem: Why one the model carries could not be imported, or null.
Properties
Label
public string Label { get; init; }Texture0, as Bevy's loader labels it.
File
public string? File { get; init; }Where its image is, relative to the model, when that is a file of its own; null when the model carries it and it was imported beside the model's meshes.
Settings
public ImportSettings Settings { get; init; }How the import read and samples one the model carries: as numbers or color, a normal map or not, its filter and wrap.
Problem
public string? Problem { get; init; }Why one the model carries could not be imported, or null.
