Documentation
¶
Index ¶
Constants ¶
View Source
const ( ReasonNeedPrefabGUID = "NEED_PREFAB_GUID" AppendOpAppend = "append" )
View Source
const FileSchemaVersion = 1
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppendIntent ¶
type File ¶
type File struct {
SchemaVersion int `json:"schema_version"`
core.Result
PatchPlan PlacePrefabPlan `json:"patch_plan"`
}
type PlacePrefabPlan ¶
type PlacePrefabPlan struct {
Status Status `json:"status"`
Reason string `json:"reason,omitempty"`
PrefabPath string `json:"prefab_path"`
PrefabGUID string `json:"prefab_guid,omitempty"`
Position bounds.Vec3 `json:"position"`
OverlapIDs []int64 `json:"overlap_ids"`
ReservedFileIDs []int64 `json:"reserved_file_ids"`
Appends []AppendIntent `json:"appends"`
}
func PlanPlacePrefab ¶
func PlanPlacePrefab(req PlacePrefabRequest) (PlacePrefabPlan, error)
type PlacePrefabRequest ¶
type PrefabReference ¶
type PrefabReference struct {
GUID string `json:"guid"`
}
Click to show internal directories.
Click to hide internal directories.