flip

flip

Flips the input across an axis, either on its own or merged with the original.

Parameters

Name Description Regular Handling Read-Only Handling
Enable
Axis Semi-Baked Semi-Baked
  • X:
  • Y:
  • Z:
Offset

Moves the reflection plane along the axis.

Runtime Baked
Shift

Moves the input towards / away from the reflection plane.

Runtime Baked
Merge Type

Whether to just flip the input or flip it and merge that with the original.

Runtime Baked
  • None:
  • Simple Union:
  • Simple Intersect:
  • Simple Difference:
  • Smooth Union:
  • Smooth Intersect:
  • Smooth Difference:
  • Round Union:
  • Round Intersect:
  • Round Difference:
  • Chamfer Union:
  • Chamfer Intersect:
  • Chamfer Difference:
  • Stair Union:
  • Stair Intersect:
  • Stair Difference:
  • Column Union:
  • Column Intersect:
  • Column Difference:
  • Simple XOR:
Merge Radius
Iteration Type

What kind of iteration values should be provided for upstream ops.

Semi-Baked Semi-Baked
  • None:
  • Index (0/1): The original is assigned 0, flipped 1.
  • Signed (-1/1): Original is assigned 1, flipped -1.
Merge Number
Merge Offset

Inputs

  • definition_in: (required)
    • Coordinate Types: vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float vec4 Sdf Volume Ray Light Particle
    • Supports Variables: sign index
    • Supports Variables From Inputs: offsetField shiftField
  • Offset Field: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float
    • Supports Variables From Inputs: shiftField
  • Shift Field: (optional)
    • Coordinate Types: float vec2 vec3
    • Context Types: Context MaterialContext CameraContext LightContext RayContext ParticleContext VertexContext PixelContext
    • Return Types: float

Variables

  • Side Sign (-1/1):
  • Side Index (0/1):