顏色漸層
20 個節點
本頁內容 20
預設熱力漸層
函數Five-stop heat-map ramp on 0-1, running dark blue, blue, green, yellow, red.
預設熱力漸層() -> Color Ramp
ColorRamp DefaultHeatRamp()
返回
| 結果 | Color Ramp |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
預設地形漸層
函數Seven-stop terrain ramp on 0-1: deep water, shallow water, sand, grass, brown earth, grey rock and snow.
預設地形漸層() -> Color Ramp
ColorRamp DefaultTerrainRamp()
返回
| 結果 | Color Ramp |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
自然冷色調
函數Nine-stop ramp on 0-1 of muted natural tones, from near-black green through olive and brown to pale sand, with cooler greens in the shadows than ColorRamp.NaturalDirt.
自然冷色調() -> Color Ramp
ColorRamp NaturalCool()
返回
| 結果 | Color Ramp |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
自然土色調
函數Nine-stop ramp on 0-1 of earthy tones, from near-black through olive and brown to pale sand; a slightly warmer variant of ColorRamp.NaturalCool.
自然土色調() -> Color Ramp
ColorRamp NaturalDirt()
返回
| 結果 | Color Ramp |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
顏色漸層
函數Creates a ramp from stops given in any order; they are sorted by position.
過載 1/2
顏色漸層(色標: IEnumerable<Color Stop>) -> Color Ramp
ColorRamp ColorRamp(IEnumerable<ColorStop> stops)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 色標 | IEnumerable<Color Stop> | — | The stops. At least one is required, positions must be finite, and no two may share a position. |
返回
| 顏色漸層 | Color Ramp |
過載 2/2
顏色漸層(色標: Color Stop 陣列) -> Color Ramp
ColorRamp ColorRamp(params ColorStop[] stops)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 色標 | Color Stop 陣列 | — | The stops. At least one is required, positions must be finite, and no two may share a position. |
返回
| 顏色漸層 | Color Ramp |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
色標數
函數Number of stops; always at least one.
色標數(Color Ramp: Color Ramp) -> 整數
int Count(ColorRamp Color Ramp)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Color Ramp | Color Ramp | — |
返回
| 結果 | 整數 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
區間終點
函數Position of the last (highest) stop.
區間終點(Color Ramp: Color Ramp) -> 數字
double DomainEnd(ColorRamp Color Ramp)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Color Ramp | Color Ramp | — |
返回
| 結果 | 數字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
區間長度
函數Distance from the first stop to the last; zero for a single-stop ramp.
區間長度(Color Ramp: Color Ramp) -> 數字
double DomainLength(ColorRamp Color Ramp)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Color Ramp | Color Ramp | — |
返回
| 結果 | 數字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
區間起點
函數Position of the first (lowest) stop.
區間起點(Color Ramp: Color Ramp) -> 數字
double DomainStart(ColorRamp Color Ramp)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Color Ramp | Color Ramp | — |
返回
| 結果 | 數字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
是否已歸一化
函數True when the stops run exactly from 0 to 1.
是否已歸一化(Color Ramp: Color Ramp) -> 真否
bool IsNormalized(ColorRamp Color Ramp)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Color Ramp | Color Ramp | — |
返回
| 結果 | 真否 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
色標
函數The stop at the given index, counting in ascending order of position.
色標(Color Ramp: Color Ramp, 索引: 整數) -> Color Stop
ColorStop Item(ColorRamp Color Ramp, int index)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Color Ramp | Color Ramp | — | |
| 索引 | 整數 | — | Zero-based index of the stop. |
返回
| 結果 | Color Stop |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
色標
函數The stops, sorted by ascending position.
色標(Color Ramp: Color Ramp) -> IReadOnlyList<Color Stop>
IReadOnlyList<ColorStop> Stops(ColorRamp Color Ramp)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Color Ramp | Color Ramp | — |
返回
| 結果 | IReadOnlyList<Color Stop> |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
取得列舉器
函數Enumerates the stops in ascending order of position.
取得列舉器(Color Ramp: Color Ramp) -> IEnumerator<Color Stop>
IEnumerator<ColorStop> GetEnumerator(ColorRamp Color Ramp)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Color Ramp | Color Ramp | — |
返回
| 結果 | IEnumerator<Color Stop> |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
轉為文字
函數Writes the ramp as text in the ColorRampTextStyle.ColorAtStop style, one stop per line, which ColorRamp.Parse reads back.
轉為文字(Color Ramp: Color Ramp) -> 文字
string ToString(ColorRamp Color Ramp)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Color Ramp | Color Ramp | — |
返回
| 結果 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 事件 例程 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
轉為漸層文字
函數Convert color ramp to parsable text format.
轉為漸層文字 -> 文字
Color Ramp: Color Ramp
樣式: Color Ramp Text Stylestring ToText(
ColorRamp Color Ramp,
ColorRamp.ColorRampTextStyle style = ColorRampTextStyle.ColorAtStop)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| Color Ramp | Color Ramp | — | |
| 樣式 | Color Ramp Text Style | 色標處的顏色 |
返回
| 結果 | 文字 |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
建立預設水面顏色漸層
函數Default water-like ramp for normal-shaded heightfield rendering.
建立預設水面顏色漸層() -> Color Ramp
ColorRamp CreateDefaultWaterSurfaceColorRamp()
返回
| 結果 | Color Ramp |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
建立淺水水面顏色漸層
函數Shallow water-like ramp for normal-shaded heightfield rendering.
建立淺水水面顏色漸層() -> Color Ramp
ColorRamp CreateShallowWaterSurfaceColorRamp()
返回
| 結果 | Color Ramp |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
預設高度層顏色漸層
函數A reasonable stylized 2D-ish default:
deep ocean -> shallow -> beach -> green -> dry grass -> brown -> rock -> snow.
seaLevel shifts the water/land boundary.
預設高度層顏色漸層(海平面: 低精度數字) -> Color Ramp
ColorRamp DefaultHeightLevelColorRamps(float seaLevel)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 海平面 | 低精度數字 | — |
返回
| 結果 | Color Ramp |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
解析顏色漸層
函數Parses line-based color ramp text.
Supported formats:
#RRGGBB@0.25
0.25: #RRGGBB
解析顏色漸層(文字: 文字) -> Color Ramp
ColorRamp Parse(string text)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 文字 | 文字 | — |
返回
| 結果 | Color Ramp |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理
嘗試解析顏色漸層
函數Parses ramp text in the same formats as ColorRamp.Parse, returning false instead of throwing when the text is empty, malformed or describes an invalid ramp.
嘗試解析顏色漸層(文字: 文字) -> (結果: 真否, 漸層: Color Ramp)
bool TryParse(string text, out ColorRamp ramp)
參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| 文字 | 文字 | — | The text to parse. |
返回
| 結果 | 真否 |
| 漸層 | Color Ramp |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- 顏色漸層
- 所屬包
- 影像處理