This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
专业(SIM)
UnigineEditor
界面概述
资源工作流程
版本控制
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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
创建内容
内容优化
材质
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-04-19
Build: ()