Vixen
02b45cc4
csharp
public record class OutlineAsset

Outlines from depth and normal discontinuities.

Read the guide page for this →

Fields and properties (15)

  • public string Name

    The node's name, for debug groups and for a human reading the file.

  • public bool Enabled

    Whether the node runs.

  • public string Source

    The image it draws over.

  • public string Depth

    The depth it finds silhouettes in.

  • public string Normals

    The normals it finds creases in, or empty for depth alone.

  • public string SelectionMask

    A mask naming what to outline, or empty to outline everything.

  • public string Output

    The name the result is published under.

  • public PixelFormat Format

    The format of the target it declares.

  • public bool UseNormals

    Whether creases count as edges, not only silhouettes.

  • public bool SelectionOnly

    Whether only the masked objects are outlined.

  • public Vector4 Colour

    What colour the line is.

  • public float Thickness

    How wide the line is, in pixels.

  • public float NearPlane

    The camera's near plane, for linearising depth.

  • public float FarPlane

    The camera's far plane.

  • public float DepthThreshold

    How large a depth step counts as an edge.

Used by (4)

  • PostEffectFactoryVixen.Rendering.PostFx
  • PostEffectTestsVixen.Rendering.PostFx.Tests
  • TypeRegistrationVixen.Rendering.PostFx
  • Vixen_Rendering_PostFx_OutlineAssetSerializerVixen.Rendering.PostFx