Staging Bridges
4 個節點
本頁內容 4
Mesh From Mesh Data
函數A mesh made by the modelling toolboxes - positions, faces of any size, and the normals and texture coordinates its corners carry - as a mesh a scene can place.
MeshFromMeshData -> Mesh Element
mesh: Streamed Vertex Mesh Data
yUp: 真否
name: 文字MeshElement MeshFromMeshData(
StreamedVertexMeshData mesh,
bool yUp = false,
string name = "")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| mesh | Streamed Vertex Mesh Data | — | The mesh. |
| yUp | 真否 | False | Whether it was made with +Y up, as a glTF or a material's sample mesh is, so it is stood up in this +Z-up world. |
| name | 文字 | — | Its name in the scene. |
返回
| 結果 | Mesh Element |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Staging Bridges
- 所屬包
- 電腦圖形
Mesh From N Gon Mesh
函數A many-sided mesh, as the shape grammars, trees and OBJ readers make one, as a mesh a scene can place.
MeshFromNGonMesh -> Mesh Element
mesh: N-gon Geometry
yUp: 真否
name: 文字MeshElement MeshFromNGonMesh(
NGonFaceIndexMesh mesh,
bool yUp = false,
string name = "")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| mesh | N-gon Geometry | — | The mesh; its corners count its positions from 1, as an OBJ file does. |
| yUp | 真否 | False | Whether it was made with +Y up. |
| name | 文字 | — | Its name in the scene; empty for the mesh's own material name or "Mesh". |
返回
| 結果 | Mesh Element |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Staging Bridges
- 所屬包
- 電腦圖形
Mesh From Solid
函數A solid from the Solids toolbox - a boolean of boxes, a hull, a gear - as a mesh a scene can place.
MeshFromSolid -> Mesh Element
solid: Manifold
smooth: 真否
name: 文字MeshElement MeshFromSolid(
Manifold solid,
bool smooth = false,
string name = "")參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| solid | Manifold | — | The solid. |
| smooth | 真否 | False | Whether its faces are shaded smoothly across their edges, for a solid that approximates a curved surface; off for a machined part's flat faces and crisp edges. |
| name | 文字 | — | Its name in the scene. |
返回
| 結果 | Mesh Element |
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Staging Bridges
- 所屬包
- 電腦圖形
Procedural Material
函數A procedural PBR material from the Materials toolbox, as a material a scene can paint with: its base colour, normal, roughness and metallic baked into maps, its emission when it glows.
ProceduralMaterial -> Material Description
material: PBR Material
tiling: 數字
resolution: 整數
tilingV: 數字MaterialDescription ProceduralMaterial(
PbrMaterial material,
double tiling = 1,
int resolution = 0,
double tilingV = 0)參數
| 名稱 | 型別 | 預設值 | 說明 |
|---|---|---|---|
| material | PBR Material | — | The material. |
| tiling | 數字 | 1 | How many times its maps repeat across a surface's texture coordinates: a shape's run 0 to 1 across each face, so a floor 4 metres wide of a material whose tile is 1 metre wants 4. |
| resolution | 整數 | 0 | The maps' size in pixels; 0 for the material's own. |
| tilingV | 數字 | 0 | How many times they repeat in the texture's second direction, which runs up each side of a box; 0 for the same as Tiling. A wall 7 metres long and 2.4 high of a material whose tile is 2.4 metres wants a tiling of 3 and a tiling V of 1, or its bricks are squashed. |
返回
| 結果 | Material Description |
備註
An opacity map is not carried, since the surface's opacity is one number here; a see-through material keeps its average. Sheen, transmission, iridescence and anisotropy have no place in a UsdPreviewSurface and are left out, as the Materials package's own glTF export leaves those out of a renderer that lacks them.
- 所屬發行版
- 元編程(教育版)元編程(專業版)
- 可用的圖種類
- 資料流 函數 事件 例程 藍圖 狀態機狀態
- 宣告於
- Staging Bridges
- 所屬包
- 電腦圖形