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.TerrainDetail Class

This class is used to manage details of the Landscape Terrain Object. Details, define terrain's appearance, each of them can have an unlimited number of children. Details are attached to detail masks and are rendered in accordance with their rendering order (the one with the highest order shall be rendered above all others).

TerrainDetail Class

Properties

string Name#

The Current name of the detail.

bool Enabled#

The true if the terrain detail is enabled; otherwise, false.

bool IsActive#

The true if the terrain detail is active; otherwise, false.

float MinVisibleHeight#

The Minimum height value for the detail, in units.

float MaxVisibleHeight#

The Maximum height value for the detail, in units.

float MinFadeHeight#

The Fade in height range value for the detail, in units.

float MaxFadeHeight#

The Fade out height range value for the detail, in units.

vec4 MaskByAlbedo#

The Four-component vector (R, G, B, A) representing a color currently used as a mask for the detail.

float MaskThreshold#

The Current mask threshold value in the [0; 1] range.

float MaskContrast#

The Current mask contrast value in the [0; 1] range.

TerrainDetailMask DetailMask#

The Detail mask currently used for the detail.

float MaxFadeTexelSize#

The Fade out texel size range value for the detail, in units.

float MinFadeTexelSize#

The Fade in texel size range value for the detail, in units.

float MaxVisibleTexelSize#

The Maximum texel size value for the detail.

float MinVisibleTexelSize#

The Minimum texel size value for the detail.

Material Material#

The detail material used for the detail.

UGUID MaterialGUID#

The GUID of the material currently used for the detail.

string MaterialFilePath#

The path of the material file currently used for the detail.

Members


TerrainDetail Copy ( TerrainDetail dest_detail ) #

Copies the detail to the specified destination detail (with all its children).

Arguments

  • TerrainDetail dest_detail - Destination detail to which the detail is to be copied.

Return value

Destination detail.

TerrainDetail Clone ( ) #

Clones the terrain detail (with all its children).

Return value

Cloned detail.
Last update: 2024-12-13
Build: ()