Interface AsukaAssemblyPlacementInput

interface AsukaAssemblyPlacementInput {
    allowInvalid?: boolean;
    axis?: "free" | "horizontal" | "vertical";
    delta?: Partial<AsukaAssemblyVector3>;
    metadata?: Record<string, unknown>;
    position?: Partial<AsukaAssemblyVector3>;
    rotation?: Partial<AsukaAssemblyVector3>;
    snap?: boolean;
    snapAnchors?: boolean;
    snapBoundaries?: boolean;
    snapGrid?: boolean;
    snapSupport?: boolean;
    sourceAnchorId?: string;
    support?: AsukaAssemblySupportMode;
    targetAnchorId?: string;
    targetComponentId?: string;
}

Properties

allowInvalid?: boolean
axis?: "free" | "horizontal" | "vertical"

Constrains snapping to the active manipulation plane. Horizontal movement snaps X/Z, vertical movement snaps Y.

delta?: Partial<AsukaAssemblyVector3>
metadata?: Record<string, unknown>
position?: Partial<AsukaAssemblyVector3>
rotation?: Partial<AsukaAssemblyVector3>
snap?: boolean
snapAnchors?: boolean
snapBoundaries?: boolean
snapGrid?: boolean
snapSupport?: boolean
sourceAnchorId?: string

Overrides and persists the component's default support after a committed placement.

targetAnchorId?: string
targetComponentId?: string