3D Preview Scene
9 nodes
On this page 9
Assign Object Color Material
FunctionThis node carries no documentation.
Overload 1 of 2
AssignObjectColorMaterial -> Preview Geometry
geometry: N-gon Geometry
color: ColorPreviewNGonGeometryInstance AssignObjectColorMaterial(
NGonFaceIndexMesh geometry,
ColorElement color)Parameters
| name | type | default | description |
|---|---|---|---|
| geometry | N-gon Geometry | — | |
| color | Color | — |
Returns
| result | Preview Geometry |
Overload 2 of 2
AssignObjectColorMaterial -> Preview Geometry
object: Preview Geometry
color: ColorPreviewNGonGeometryInstance AssignObjectColorMaterial(
PreviewNGonGeometryInstance object,
ColorElement color)Parameters
| name | type | default | description |
|---|---|---|---|
| object | Preview Geometry | — | |
| color | Color | — |
Returns
| result | Preview Geometry |
Remarks
The object stays where it was placed (round 26: it used to go back to the origin).
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- 3D Preview Scene
- Package
- Procedural Generation
Assign Random Object Color
FunctionThis node carries no documentation.
Overload 1 of 2
AssignRandomObjectColor(geometry: N-gon Geometry) -> Preview Geometry
PreviewNGonGeometryInstance AssignRandomObjectColor(NGonFaceIndexMesh geometry)
Parameters
| name | type | default | description |
|---|---|---|---|
| geometry | N-gon Geometry | — |
Returns
| result | Preview Geometry |
Overload 2 of 2
AssignRandomObjectColor(object: Preview Geometry) -> Preview Geometry
PreviewNGonGeometryInstance AssignRandomObjectColor(PreviewNGonGeometryInstance object)
Parameters
| name | type | default | description |
|---|---|---|---|
| object | Preview Geometry | — |
Returns
| result | Preview Geometry |
Remarks
The object stays where it was placed (round 26: it used to go back to the origin).
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- 3D Preview Scene
- Package
- Procedural Generation
Combine
FunctionThis node carries no documentation.
Overload 1 of 4
Combine(geometries: N-gon Geometry Array) -> Preview Scene
SimplePreviewScene Combine(NGonFaceIndexMesh[] geometries)
Parameters
| name | type | default | description |
|---|---|---|---|
| geometries | N-gon Geometry Array | — |
Returns
| result | Preview Scene |
Overload 2 of 4
Combine(objects: Preview Geometry Array) -> Preview Scene
SimplePreviewScene Combine(PreviewNGonGeometryInstance[] objects)
Parameters
| name | type | default | description |
|---|---|---|---|
| objects | Preview Geometry Array | — |
Returns
| result | Preview Scene |
Overload 3 of 4
Combine(existing: Preview Scene Array) -> Preview Scene
SimplePreviewScene Combine(SimplePreviewScene[] existing)
Parameters
| name | type | default | description |
|---|---|---|---|
| existing | Preview Scene Array | — |
Returns
| result | Preview Scene |
Overload 4 of 4
Combine -> Preview Scene
scene: Preview Scene
object: Preview GeometrySimplePreviewScene Combine(
SimplePreviewScene scene,
PreviewNGonGeometryInstance object)Parameters
| name | type | default | description |
|---|---|---|---|
| scene | Preview Scene | — | |
| object | Preview Geometry | — |
Returns
| result | Preview Scene |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- 3D Preview Scene
- Package
- Procedural Generation
Place
FunctionPuts a group of objects somewhere, turned, as one thing: a character made of a body, a head and two eyes walks and turns whole.
Place -> Preview Scene
group: Preview Scene
position: Vector3d
turn: NumberSimplePreviewScene Place(
SimplePreviewScene group,
Vector3d position,
double turn = 0)Parameters
| name | type | default | description |
|---|---|---|---|
| group | Preview Scene | — | The objects, placed around the group's origin. |
| position | Vector3d | — | Where the group's origin goes. |
| turn | Number | 0 | How far it turns about the vertical, in degrees, counter-clockwise seen from above. |
Returns
| Scene | Preview Scene |
Remarks
Round 26. The group is turned about the vertical through its own origin by Turn, then moved by Position: each object keeps its place in the group, so the parts of a figure built around its feet stay together however it turns. A posed model is placed as a mesh is, keeping its pose, and a wireframe as well (round 26 follow-up).
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- 3D Preview Scene
- Package
- Procedural Generation
Rotate Object
FunctionThis node carries no documentation.
Overload 1 of 2
RotateObject -> Preview Geometry
geometry: N-gon Geometry
rotation: Vector3dPreviewNGonGeometryInstance RotateObject(
NGonFaceIndexMesh geometry,
Vector3d rotation)Parameters
| name | type | default | description |
|---|---|---|---|
| geometry | N-gon Geometry | — | |
| rotation | Vector3d | — |
Returns
| result | Preview Geometry |
Overload 2 of 2
RotateObject -> Preview Geometry
object: Preview Geometry
rotation: Vector3dPreviewNGonGeometryInstance RotateObject(
PreviewNGonGeometryInstance object,
Vector3d rotation)Parameters
| name | type | default | description |
|---|---|---|---|
| object | Preview Geometry | — | |
| rotation | Vector3d | — |
Returns
| result | Preview Geometry |
Remarks
Pure; Additive.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- 3D Preview Scene
- Package
- Procedural Generation
Scale Object
FunctionThis node carries no documentation.
Overload 1 of 2
ScaleObject -> Preview Geometry
geometry: N-gon Geometry
scale: Vector3dPreviewNGonGeometryInstance ScaleObject(
NGonFaceIndexMesh geometry,
Vector3d scale)Parameters
| name | type | default | description |
|---|---|---|---|
| geometry | N-gon Geometry | — | |
| scale | Vector3d | — |
Returns
| result | Preview Geometry |
Overload 2 of 2
ScaleObject -> Preview Geometry
object: Preview Geometry
scale: Vector3dPreviewNGonGeometryInstance ScaleObject(
PreviewNGonGeometryInstance object,
Vector3d scale)Parameters
| name | type | default | description |
|---|---|---|---|
| object | Preview Geometry | — | |
| scale | Vector3d | — |
Returns
| result | Preview Geometry |
Remarks
Pure; multiplies the scale the object already has.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- 3D Preview Scene
- Package
- Procedural Generation
Set Shade Smooth
FunctionThis node carries no documentation.
Overload 1 of 2
SetShadeSmooth -> Preview Geometry
geometry: N-gon Geometry
shadeSmooth: TruthPreviewNGonGeometryInstance SetShadeSmooth(
NGonFaceIndexMesh geometry,
bool shadeSmooth = true)Parameters
| name | type | default | description |
|---|---|---|---|
| geometry | N-gon Geometry | — | |
| shadeSmooth | Truth | True |
Returns
| result | Preview Geometry |
Overload 2 of 2
SetShadeSmooth -> Preview Geometry
object: Preview Geometry
shadeSmooth: TruthPreviewNGonGeometryInstance SetShadeSmooth(
PreviewNGonGeometryInstance object,
bool shadeSmooth = true)Parameters
| name | type | default | description |
|---|---|---|---|
| object | Preview Geometry | — | |
| shadeSmooth | Truth | True |
Returns
| result | Preview Geometry |
Remarks
The object keeps its colour and its place (round 26: it used to lose both).
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- 3D Preview Scene
- Package
- Procedural Generation
Translate
FunctionTranslate groups of objects.
Translate -> Preview Scene
scene: Preview Scene
translation: Vector3dSimplePreviewScene Translate(
SimplePreviewScene scene,
Vector3d translation)Parameters
| name | type | default | description |
|---|---|---|---|
| scene | Preview Scene | — | |
| translation | Vector3d | — |
Returns
| result | Preview Scene |
Remarks
Doesn't work with wireframe objects.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- 3D Preview Scene
- Package
- Procedural Generation
Translate Object
FunctionThis node carries no documentation.
Overload 1 of 2
TranslateObject -> Preview Geometry
geometry: N-gon Geometry
translation: Vector3dPreviewNGonGeometryInstance TranslateObject(
NGonFaceIndexMesh geometry,
Vector3d translation)Parameters
| name | type | default | description |
|---|---|---|---|
| geometry | N-gon Geometry | — | |
| translation | Vector3d | — |
Returns
| result | Preview Geometry |
Overload 2 of 2
TranslateObject -> Preview Geometry
object: Preview Geometry
translation: Vector3dPreviewNGonGeometryInstance TranslateObject(
PreviewNGonGeometryInstance object,
Vector3d translation)Parameters
| name | type | default | description |
|---|---|---|---|
| object | Preview Geometry | — | |
| translation | Vector3d | — |
Returns
| result | Preview Geometry |
Remarks
Pure; Additive.
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- 3D Preview Scene
- Package
- Procedural Generation