Vixen
02b45cc4
csharp
public readonly record struct SurfaceSample

A resolved place on a surface: where it is, which way it faces, and which way is along.

No guide page documents this yet — the page shows what the code says about itself.

Fields and properties (3)

  • public Vector3 Position

    Where, in the shape's own space.

  • public Vector3 Normal

    Which way the surface faces there. Unit length.

  • public Vector3 Tangent

    Which way U increases there, made perpendicular to the normal. Unit length.

Methods (2)

  • public SurfaceSample(Vector3 Position, Vector3 Normal, Vector3 Tangent)

    A resolved place on a surface: where it is, which way it faces, and which way is along.

  • public Quaternion Rotation()

    The frame at that place: +Y outward, +X along U.

Used by (4)

  • ProxyShapeTestsVixen.Animation.Tests
  • ShapeGeometryVixen.Animation
  • SurfaceFrameVixen.Animation
  • TrajectoryTestsVixen.Animation.Tests