Enfusion Script API
Loading...
Searching...
No Matches
Classes | Enumerations
WorkbenchAPI_Terrain

Classes

interface  TerrainToolDesc
 
interface  TerrainToolDesc_HeightAdd
 
interface  TerrainToolDesc_HeightExact
 
interface  TerrainToolDesc_HeightNoise
 
interface  TerrainToolDesc_HeightSmooth
 
interface  TerrainToolDesc_HeightUser
 
interface  TerrainToolDesc_LayerAdd
 

Enumerations

enum  ETerrainNoiseType { ETerrainNoiseType.RANDOM , ETerrainNoiseType.PERLIN }
 
enum  FilterMorphLerpFunc {
  FilterMorphLerpFunc.LINEAR , FilterMorphLerpFunc.SIN , FilterMorphLerpFunc.INV_COS , FilterMorphLerpFunc.SMOOTH ,
  FilterMorphLerpFunc.SPHERE , FilterMorphLerpFunc.INV_SPHERE
}
 height shape of filter, how the value between outer (= 0) and inner (= 1) radius are modified More...
 
enum  FilterMorphOperation {
  FilterMorphOperation.ADD , FilterMorphOperation.NOISE , FilterMorphOperation.EXACT , FilterMorphOperation.SMOOTH ,
  FilterMorphOperation.COMBINE
}
 predefined filter operations More...
 
enum  FilterMorphShape { FilterMorphShape.ROUND , FilterMorphShape.SQUARE , FilterMorphShape.USER }
 2D shape of filter More...
 
enum  TerrainToolType {
  TerrainToolType.NONE , TerrainToolType.HEIGHT_ADD , TerrainToolType.HEIGHT_EXACT , TerrainToolType.HEIGHT_SMOOTH ,
  TerrainToolType.HEIGHT_NOISE , TerrainToolType.SURFACE_PAINT , TerrainToolType.HOLES_ADD_REMOVE , TerrainToolType.HOLES_BLOCK_ENABLE_DISABLE ,
  TerrainToolType.COUNT
}
 
enum  UserShapeFilter { UserShapeFilter.NEAREST , UserShapeFilter.BILINEAR , UserShapeFilter.BICUBIC }
 Filtering type of given user shape. More...
 

Detailed Description

Enumeration Type Documentation

◆ ETerrainNoiseType

Enumerator
RANDOM 
PERLIN 

◆ FilterMorphLerpFunc

height shape of filter, how the value between outer (= 0) and inner (= 1) radius are modified

Enumerator
LINEAR 

linear interpolation

SIN 

sine

INV_COS 

inverse cosine

SMOOTH 

hermit interpolation

SPHERE 

sphere interpolation

INV_SPHERE 

inverse sphere interpolation

◆ FilterMorphOperation

predefined filter operations

Enumerator
ADD 

add to existing

NOISE 

add noise to existing

EXACT 

set exact value

SMOOTH 

smoothing

COMBINE 

combine with other map, take map from TerrainFilterDesc.GetCombinePtr()

◆ FilterMorphShape

2D shape of filter

Enumerator
ROUND 

generate round kernel

SQUARE 

generate square kernel

USER 

user shape

◆ TerrainToolType

Enumerator
NONE 
HEIGHT_ADD 
HEIGHT_EXACT 
HEIGHT_SMOOTH 
HEIGHT_NOISE 
SURFACE_PAINT 
HOLES_ADD_REMOVE 
HOLES_BLOCK_ENABLE_DISABLE 
COUNT 

◆ UserShapeFilter

Filtering type of given user shape.

Enumerator
NEAREST 

nearest

BILINEAR 

bilinear

BICUBIC 

bicubic