suggest

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Align

type Align string
const (
	AlignFloor Align = "floor"
	AlignGrid  Align = "grid"
)

type Anchor

type Anchor struct {
	FileID int64
	Name   string
}

type Candidate

type Candidate struct {
	Rank       int
	Status     string
	Direction  string
	Position   bounds.Vec3
	OverlapIDs []int64
}

type Request

type Request struct {
	Manifest bounds.Manifest
	Prefab   string
	Near     string
	Count    int
	Align    Align
}

type Result

type Result struct {
	Status     string
	Manifest   string
	PrefabPath string
	Near       Anchor
	Align      Align
	Count      int
	Candidates []Candidate
}

func Plan

func Plan(req Request) (Result, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL