Class ImportSettings
glTF import settings
Inherited Members
Namespace: GLTFast
Assembly: glTFast.dll
Syntax
[Serializable]
public class ImportSettings
Properties
AnimationMethod
Target animation system
Declaration
public AnimationMethod AnimationMethod { get; set; }
Property Value
Type | Description |
---|---|
AnimationMethod |
AnisotropicFilterLevel
This property defines the anisotropic filtering level for imported textures
Declaration
public int AnisotropicFilterLevel { get; set; }
Property Value
Type | Description |
---|---|
int |
DefaultMagFilterMode
Define the default magnification filter mode for textures that have no such specification in data
Declaration
public Sampler.MagFilterMode DefaultMagFilterMode { get; set; }
Property Value
Type | Description |
---|---|
Sampler.MagFilterMode |
DefaultMinFilterMode
Defines the default minification filter mode for textures that have no such specification in data
Declaration
public Sampler.MinFilterMode DefaultMinFilterMode { get; set; }
Property Value
Type | Description |
---|---|
Sampler.MinFilterMode |
GenerateMipMaps
Set this property to true to enable mip map generation. Note: Creating mipmaps from Jpeg/PNG textures is very slow (at the moment). See https://github.com/atteneder/glTFast/issues/220 for details
Declaration
public bool GenerateMipMaps { get; set; }
Property Value
Type | Description |
---|---|
bool |
NodeNameMethod
Defines how node names are created
Declaration
public NameImportMethod NodeNameMethod { get; set; }
Property Value
Type | Description |
---|---|
NameImportMethod |
TexturesReadable
Create textures readable. Increases memory consumption.
Declaration
public bool TexturesReadable { get; set; }
Property Value
Type | Description |
---|---|
bool |