This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Basics
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Unigine.TerrainGlobalDetail Class

This class is used to manage details of the global terrain object.

TerrainGlobalDetail Class

Properties

float DisplacementOffset#

The displacement offset. this parameter controls the direction of displacement (inward or outward).

float Displacement#

The scale of displacement mapping according to the height texture.

float NormalScale#

The intensity scale of the detail normal texture.

float RoughnessScale#

The intensity scale of the detail roughness texture.

float AlbedoScale#

The intensity scale of the detail albedo texture.

float Roughness#

The roughness value multiplier for the detail.

vec4 AlbedoColor#

The current albedo color multiplier for the detail.

string HeightTextureName#

The path to the height texture of the detail.

string NormalTextureName#

The path to the normal texture of the detail.

string RoughnessTextureName#

The path to the roughness texture of the detail.

string AlbedoTextureName#

The path to the albedo texture of the detail.

float MaskContrast#

The contrast of the detail mask.

float MaskWidth#

The width of blending of detail's height texture. Higher values provide wider areas. Blending is performed according to the detail's mask.

float MaskThreshold#

The threshold that controls smoothness of blending of detail's height texture. Higher values provide smoother results. Blending is performed according to the detail's mask.

float BlendTriplanar#

The threshold value that controls smoothness of blending between the different projections of triplanar texture mapping.
Notice
This parameter is used only when triplanar texture mapping is enabled for the detail.

bool Triplanar#

The A value indicating if triplanar texture mapping is enabled for the detail.

bool Detail#

The value indicating if the detail uses the mask of the parent detail.

bool Overlap#

The A value indicating if overlap mode is enabled for the detail.

float MaxFadeDistance#

The maximum fade-out distance of the detail. over this distance the detail smoothly becomes invisible due to alpha fading. it is counted starting from the maximum visibility distance.

float MinFadeDistance#

The minimum fade-in distance of the detail. over this distance the detail smoothly becomes visible due to alpha fading. it is counted starting from the minimum visibility distance.

float MaxVisibleDistance#

The maximum visibility distance of the detail. it is the distance, starting from which the detail begins to fade out until it becomes completely invisible.

float MinVisibleDistance#

The minimum visibility distance of the detail. it is the distance, starting from which the detail begins to fade in until it becomes completely visible.

float MaxFadeHeight#

The fade out height range for the detail mask. over this height range above the maximum height value the detail mask will fade out until it is completely invisible. This parameter is used to modulate the detail mask by height.

float MinFadeHeight#

The fade in height range for the detail mask. over this height range below the minimum height value the detail mask will fade in until it is completely visible. This parameter is used to modulate the detail mask by height.

float MaxVisibleHeight#

The Sets the maximum height value for the detail mask, starting from which the detail begins to fade out until it becomes completely invisible. This parameter is used to modulate the detail mask by height.

float MinVisibleHeight#

The minimum height value for the detail mask, starting from which the detail begins to fade in until it becomes completely visible. This parameter is used to modulate the detail mask by height.

vec4 Transform#

The current transformation parameters of the detail.

vec4 MaskColor#

The color of the detail mask.

int MaskNumber#

The index of the mask used by the detail.

bool Enabled#

The A value indicating if the detail is enabled.

string Name#

The name of the detail.

Members


Last update: 2024-12-13
Build: ()