• Preparing search index...
  • The search index is not available
@xeokit/sdk - v0.1.0
  • @xeokit/sdk
  • studio
  • systems
  • fillPlaneMatrix

Function fillPlaneMatrix

  • fillPlaneMatrix(pos: Vec3, dir: Vec3, out: Mat4): Mat4

    Compose a 4×4 column-major matrix whose translation is pos and whose local +Z axis is dir. The remaining axes (X, Y) form an orthonormal basis spanning the plane's surface.

    Exposed because the section-planes proxy quad also needs the same matrix to align its visual quad with the plane.

    Parameters

    • pos: Vec3
    • dir: Vec3
    • out: Mat4

    Returns Mat4

    • Defined in packages/sdk/src/studio/systems/sectionPlanesTool/SectionPlaneAdapter.ts:78

Settings

Member Visibility
@xeokit/sdk - v0.1.0
  • Loading...

Generated using TypeDoc