Class OBJTextureOption
Represents the options for configuring a texture in an OBJ file.
Namespace: Evergine.Runtimes.OBJ.DataTypes
Assembly: Evergine.Runtimes.OBJ.dll
Syntax
public class OBJTextureOption
Fields
Blendu
Indicates whether horizontal texture blending is enabled. Default is true.
Declaration
public bool Blendu
Field Value
| Type | Description |
|---|---|
| bool |
Blendv
Indicates whether vertical texture blending is enabled. Default is true.
Declaration
public bool Blendv
Field Value
| Type | Description |
|---|---|
| bool |
Brightness
Adjusts the brightness of the texture. Default is 0.0.
Declaration
public float Brightness
Field Value
| Type | Description |
|---|---|
| float |
BumpMultiplier
Specifies the bump multiplier for bump maps. Default is 1.0.
Declaration
public float BumpMultiplier
Field Value
| Type | Description |
|---|---|
| float |
Clamp
Indicates whether the texture is clamped to the 0-1 range. Default is false.
Declaration
public bool Clamp
Field Value
| Type | Description |
|---|---|
| bool |
Colorspace
Specifies the color space of the texture (e.g., "sRGB" or "linear").
Declaration
public string Colorspace
Field Value
| Type | Description |
|---|---|
| string |
Contrast
Adjusts the contrast of the texture. Default is 1.0.
Declaration
public float Contrast
Field Value
| Type | Description |
|---|---|
| float |
Imfchan
Specifies the channel of the file used to create a scalar or bump texture. Default is 'm' (matte).
Declaration
public char Imfchan
Field Value
| Type | Description |
|---|---|
| char |
OriginOffset
Specifies the origin offset of the texture. Default is [0, 0, 0].
Declaration
public float[] OriginOffset
Field Value
| Type | Description |
|---|---|
| float[] |
Scale
Specifies the scale of the texture. Default is [1, 1, 1].
Declaration
public float[] Scale
Field Value
| Type | Description |
|---|---|
| float[] |
Sharpness
Controls the sharpness of the texture. Default is 1.0.
Declaration
public float Sharpness
Field Value
| Type | Description |
|---|---|
| float |
TextureResolution
Specifies the texture resolution. Default is -1 (unspecified).
Declaration
public int TextureResolution
Field Value
| Type | Description |
|---|---|
| int |
Turbulence
Specifies the turbulence of the texture. Default is [0, 0, 0].
Declaration
public float[] Turbulence
Field Value
| Type | Description |
|---|---|
| float[] |
Type
Specifies the type of texture (e.g., None, Sphere, Cube).
Declaration
public OBJTextureType Type
Field Value
| Type | Description |
|---|---|
| OBJTextureType |