神岛 API 文档 - ArenaPro版
    Preparing search index...

    Type Alias GameInputDialogParams

    游戏输入对话框参数类型定义

    type GameInputDialogParams = {
        confirmText?: string;
        content: string;
        contentBackgroundColor?: GameRGBAColor;
        contentTextColor?: GameRGBAColor;
        lookEye?: GameVector3 | GameEntity;
        lookEyeOffset?: GameVector3;
        lookTarget?: GameVector3 | GameEntity;
        lookTargetOffset?: GameVector3;
        lookUp?: GameVector3;
        placeholder?: string;
        title?: string;
        titleBackgroundColor?: GameRGBAColor;
        titleTextColor?: GameRGBAColor;
        type: INPUT;
    }
    Index

    Properties

    confirmText?: string

    确认按钮文本

    content: string

    对话框内容

    contentBackgroundColor?: GameRGBAColor

    对话框背景色

    contentTextColor?: GameRGBAColor

    对话框文字颜色

    相机眼位置

    lookEyeOffset?: GameVector3

    如果相机眼位置是实体,则为实体位置的偏移量

    lookTarget?: GameVector3 | GameEntity

    对象的目标点

    lookTargetOffset?: GameVector3

    如果目标实体已给出,则为目标实体的偏移量

    lookUp?: GameVector3

    相机上方向量

    placeholder?: string

    输入框默认文本

    title?: string

    对话框标题

    titleBackgroundColor?: GameRGBAColor

    对话框标题背景色

    titleTextColor?: GameRGBAColor

    对话框标题文字颜色

    type: INPUT