INNER CODE UNIT · Go

shotRunArgs

gameknife/gkNextEngine · tools/gnb/cmd/gnb/main.go:646

func shotRunArgs(frames int, includeUI bool, trailingArgs []string) []string {
	runArgs := []string{"--agent-validation"}
	if frames > 0 {
		runArgs = append(runArgs, fmt.Sprintf("--agent-validation-frames=%d", frames))
	}
	if includeUI {
		runArgs = append(runArgs, "--agent-validation-ui")
	}
	return append(runArgs, trailingArgs...)
}

type validateScriptHints struct {
	Name     string `json:"name"`
	Target   string `json:"target"`
	Scene    string `json:"scene"`
	Viewport struct {
		Width  int `json:"width"`
		Height int `json:"height"`

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…