Parameter class for model loading.
Declaration Syntax
C# |
public class ModelLoaderParameters : LoaderParameters
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
ModelLoaderParameters()()()() |
Initializes a new ModelLoaderParameter class set to parameter defaults.
|
|
CreaseAngle |
Gets or sets the angle in degrees used when crease normals are to be generated. Default is 66 degrees.
|
|
Equals(Object) |
(Inherited from Object.) |
|
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GenerateTangentBasis |
Gets or sets if tangents and binormals should be generated. Default is false. At least one set of
textures coordinates and vertex normals must be present for the tangent basis to be generated.
|
|
GetHashCode()()()() |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() |
Gets the Type of the current instance. (Inherited from Object.) |
|
MaterialNamesCorrespondToGeometry |
Gets or sets if the materials in a user material file should be applied
to geometries that correspond to their names (e.g. material named "geom-box-01" is applied to
geometry called "geom-box-01"). Default is false.
If false and multiple materials are present in a material file, only the first material
is used.
|
|
MemberwiseClone()()()() |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
NormalGeneration |
Gets or sets the enumeration value that dictates how vertex normals are generated,
if enabled. Default is NormalGeneration.None.
|
|
OverrideCache |
Gets or sets if a previously loaded cached asset should be returned or the cache should be overridden. Default is
false, the cached asset will always be returned.
(Inherited from LoaderParameters.) |
|
Read(ISavableReader) |
Deserializes the object and populates it from the input.
(Overrides LoaderParameters.Read(ISavableReader).) |
|
Scale |
Gets or sets the model scale, this is baked into the vertex data. Default is 1.0f.
|
|
SwapWindingOrder |
Gets or sets if winding order should be swapped. If true,
the vertex data is swapped. Default is false.
|
|
TextureParameters |
Gets or sets the image parameters for texture loading.
|
|
TexturePath |
Gets or sets the path the loader should search for textures in. By default this is null, which means
the loader will look in the paths specified by the model file.
|
|
ToString()()()() |
(Inherited from Object.) |
|
UseLitMaterials |
Gets or sets if the model should prefer using the default content's lit materials, over non-lit materials.
Default is true.
|
|
UserMaterialFile |
Gets or sets the material file to load instead of the loader's defaults. If null, then
the engine's standard materials are used. This is null by default.
|
|
ValidateParameters()()()() |
Validates loader parameters.
(Overrides LoaderParameters.ValidateParameters()()()().) |
|
Write(ISavableWriter) |
Serializes the object and writes it to the output.
(Overrides LoaderParameters.Write(ISavableWriter).) |
|
XAxisRotation |
Gets or sets the angle in degrees the model should be rotated about the x-axis. This
will be baked into the vertex data. Default is zero.
|
|
YAxisRotation |
Gets or sets the angle in degrees the model should be rotated about the y-axis. This
will be baked into the vertex data. Default is zero.
|
|
ZAxisRotation |
Gets or sets the angle in degrees the model should be rotated about the z-axis. This
will be baked into the vertex data. Default is zero.
|
Inheritance Hierarchy
Object | ||
LoaderParameters | ||
ModelLoaderParameters |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)