navcat docs
    Preparing search index...

    Function markRotatedBoxArea

    • Marks spans in the heightfield that intersect the specified rotated box area with the given area ID.

      Parameters

      • center: Vec3

        The center point of the box in world space [x, y, z]

      • halfExtents: Vec3

        Half extents of the box along each axis [x, y, z]

      • angleRadians: number

        Rotation angle in radians around the Y axis

      • areaId: number

        The area ID to assign to intersecting spans

      • compactHeightfield: CompactHeightfield

        The compact heightfield to mark

      Returns void