Class TerragenComputeTexCoordsConfig
Configures the terragen import plugin to compute UV's for terrains, if they are not given. Furthermore, a default texture is assigned. The default value is false.
UV coordinates for terrains are so simple to compute that you'll usually want to compute them on your own, if you need them. This option is intended for model viewers which want to offer an easy way to apply textures to terrains.
Inherited Members
Namespace: SharpAssimp.Configs
Assembly: SharpAssimp.dll
Syntax
public sealed class TerragenComputeTexCoordsConfig : BooleanPropertyConfig
Constructors
| Edit this page View SourceTerragenComputeTexCoordsConfig(bool)
Constructs a new TerragenComputeTexCoordsConfig.
Declaration
public TerragenComputeTexCoordsConfig(bool computeTexCoords)
Parameters
Type | Name | Description |
---|---|---|
bool | computeTexCoords | True if terran UV coordinates should be computed, false otherwise. |
Properties
| Edit this page View SourceTerragenComputeTexCoordsConfigName
Gets the string name used by TerragenComputeTexCoordsConfig.
Declaration
public static string TerragenComputeTexCoordsConfigName { get; }
Property Value
Type | Description |
---|---|
string |