三维预览场景
9 个节点
本页内容 9
设置对象颜色材质
函数此节点没有文档说明。
重载 1/2
签名
设置对象颜色材质 -> Preview Geometry
几何体: N-gon Geometry
颜色: 颜色PreviewNGonGeometryInstance AssignObjectColorMaterial(
NGonFaceIndexMesh geometry,
ColorElement color)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 几何体 | N-gon Geometry | — | |
| 颜色 | 颜色 | — |
返回
| 结果 | Preview Geometry |
重载 2/2
签名
设置对象颜色材质 -> Preview Geometry
对象: Preview Geometry
颜色: 颜色PreviewNGonGeometryInstance AssignObjectColorMaterial(
PreviewNGonGeometryInstance object,
ColorElement color)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 对象 | Preview Geometry | — | |
| 颜色 | 颜色 | — |
返回
| 结果 | Preview Geometry |
备注
The object stays where it was placed (round 26: it used to go back to the origin).
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 三维预览场景
- 所属包
- 程序化生成
设置随机对象颜色
函数此节点没有文档说明。
重载 1/2
签名
设置随机对象颜色(几何体: N-gon Geometry) -> Preview Geometry
PreviewNGonGeometryInstance AssignRandomObjectColor(NGonFaceIndexMesh geometry)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 几何体 | N-gon Geometry | — |
返回
| 结果 | Preview Geometry |
重载 2/2
签名
设置随机对象颜色(对象: Preview Geometry) -> Preview Geometry
PreviewNGonGeometryInstance AssignRandomObjectColor(PreviewNGonGeometryInstance object)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 对象 | Preview Geometry | — |
返回
| 结果 | Preview Geometry |
备注
The object stays where it was placed (round 26: it used to go back to the origin).
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 三维预览场景
- 所属包
- 程序化生成
合并场景
函数此节点没有文档说明。
重载 1/4
签名
合并场景(几何体: N-gon Geometry 数组) -> Preview Scene
SimplePreviewScene Combine(NGonFaceIndexMesh[] geometries)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 几何体 | N-gon Geometry 数组 | — |
返回
| 结果 | Preview Scene |
重载 2/4
签名
合并场景(对象: Preview Geometry 数组) -> Preview Scene
SimplePreviewScene Combine(PreviewNGonGeometryInstance[] objects)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 对象 | Preview Geometry 数组 | — |
返回
| 结果 | Preview Scene |
重载 3/4
签名
合并场景(现有场景: Preview Scene 数组) -> Preview Scene
SimplePreviewScene Combine(SimplePreviewScene[] existing)
参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 现有场景 | Preview Scene 数组 | — |
返回
| 结果 | Preview Scene |
重载 4/4
签名
合并场景 -> Preview Scene
场景: Preview Scene
对象: Preview GeometrySimplePreviewScene Combine(
SimplePreviewScene scene,
PreviewNGonGeometryInstance object)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 场景 | Preview Scene | — | |
| 对象 | Preview Geometry | — |
返回
| 结果 | Preview Scene |
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 三维预览场景
- 所属包
- 程序化生成
放置
函数把一组对象当作一个整体放到某处并转向:由身体、头和两只眼睛组成的角色整体行走、整体转身。
签名
放置 -> Preview Scene
组: Preview Scene
位置: Vector3d
转向: 数字SimplePreviewScene Place(
SimplePreviewScene group,
Vector3d position,
double turn = 0)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 组 | Preview Scene | — | 围绕组原点摆放的对象。 |
| 位置 | Vector3d | — | 组原点要去的位置。 |
| 转向 | 数字 | 0 | 绕竖直轴转动的角度,单位为度,从上往下看为逆时针。 |
返回
| 场景 | Preview Scene |
备注
这组对象先绕经过自身原点的竖直轴转动“转向”的角度,再移到“位置”:每个对象在组里的位置保持不变,所以围绕脚底搭起来的角色各部分无论怎么转都在一起。
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 三维预览场景
- 所属包
- 程序化生成
旋转对象
函数此节点没有文档说明。
重载 1/2
签名
旋转对象 -> Preview Geometry
几何体: N-gon Geometry
旋转: Vector3dPreviewNGonGeometryInstance RotateObject(
NGonFaceIndexMesh geometry,
Vector3d rotation)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 几何体 | N-gon Geometry | — | |
| 旋转 | Vector3d | — |
返回
| 结果 | Preview Geometry |
重载 2/2
签名
旋转对象 -> Preview Geometry
对象: Preview Geometry
旋转: Vector3dPreviewNGonGeometryInstance RotateObject(
PreviewNGonGeometryInstance object,
Vector3d rotation)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 对象 | Preview Geometry | — | |
| 旋转 | Vector3d | — |
返回
| 结果 | Preview Geometry |
备注
Pure; Additive.
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 三维预览场景
- 所属包
- 程序化生成
缩放对象
函数此节点没有文档说明。
重载 1/2
签名
缩放对象 -> Preview Geometry
几何体: N-gon Geometry
缩放: Vector3dPreviewNGonGeometryInstance ScaleObject(
NGonFaceIndexMesh geometry,
Vector3d scale)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 几何体 | N-gon Geometry | — | |
| 缩放 | Vector3d | — |
返回
| 结果 | Preview Geometry |
重载 2/2
签名
缩放对象 -> Preview Geometry
对象: Preview Geometry
缩放: Vector3dPreviewNGonGeometryInstance ScaleObject(
PreviewNGonGeometryInstance object,
Vector3d scale)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 对象 | Preview Geometry | — | |
| 缩放 | Vector3d | — |
返回
| 结果 | Preview Geometry |
备注
Pure; multiplies the scale the object already has.
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 三维预览场景
- 所属包
- 程序化生成
设置平滑着色
函数此节点没有文档说明。
重载 1/2
签名
设置平滑着色 -> Preview Geometry
几何体: N-gon Geometry
平滑着色: 真否PreviewNGonGeometryInstance SetShadeSmooth(
NGonFaceIndexMesh geometry,
bool shadeSmooth = true)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 几何体 | N-gon Geometry | — | |
| 平滑着色 | 真否 | True |
返回
| 结果 | Preview Geometry |
重载 2/2
签名
设置平滑着色 -> Preview Geometry
对象: Preview Geometry
平滑着色: 真否PreviewNGonGeometryInstance SetShadeSmooth(
PreviewNGonGeometryInstance object,
bool shadeSmooth = true)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 对象 | Preview Geometry | — | |
| 平滑着色 | 真否 | True |
返回
| 结果 | Preview Geometry |
备注
The object keeps its colour and its place (round 26: it used to lose both).
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 三维预览场景
- 所属包
- 程序化生成
平移
函数Translate groups of objects.
签名
平移(场景: Preview Scene, 平移: Vector3d) -> Preview Scene
SimplePreviewScene Translate(
SimplePreviewScene scene,
Vector3d translation)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 场景 | Preview Scene | — | |
| 平移 | Vector3d | — |
返回
| 结果 | Preview Scene |
备注
Doesn't work with wireframe objects.
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 三维预览场景
- 所属包
- 程序化生成
平移对象
函数此节点没有文档说明。
重载 1/2
签名
平移对象 -> Preview Geometry
几何体: N-gon Geometry
平移: Vector3dPreviewNGonGeometryInstance TranslateObject(
NGonFaceIndexMesh geometry,
Vector3d translation)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 几何体 | N-gon Geometry | — | |
| 平移 | Vector3d | — |
返回
| 结果 | Preview Geometry |
重载 2/2
签名
平移对象 -> Preview Geometry
对象: Preview Geometry
平移: Vector3dPreviewNGonGeometryInstance TranslateObject(
PreviewNGonGeometryInstance object,
Vector3d translation)参数
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| 对象 | Preview Geometry | — | |
| 平移 | Vector3d | — |
返回
| 结果 | Preview Geometry |
备注
Pure; Additive.
- 所属发行版
- 元编程(教育版)元编程(专业版)
- 可用的图种类
- 数据流 函数 事件 例程 蓝图 状态机状态
- 声明于
- 三维预览场景
- 所属包
- 程序化生成