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

    Type Alias GameSelectDialogParams

    游戏选择对话框参数类型定义。

    Defines the parameters for a game select dialog.

    type GameSelectDialogParams = {
        content: string;
        contentBackgroundColor?: GameRGBAColor;
        contentTextColor?: GameRGBAColor;
        lookEye?: GameVector3 | GameEntity;
        lookEyeOffset?: GameVector3;
        lookTarget?: GameVector3 | GameEntity;
        lookTargetOffset?: GameVector3;
        lookUp?: GameVector3;
        options: string[];
        title?: string;
        titleBackgroundColor?: GameRGBAColor;
        titleTextColor?: GameRGBAColor;
    }
    Index

    Properties

    content: string

    对话框内容。

    The content of the dialog box.

    contentBackgroundColor?: GameRGBAColor

    对话框背景色。

    The background color of the dialog box.

    contentTextColor?: GameRGBAColor

    对话框文字颜色。

    The text color of the dialog box.

    相机眼位置。

    The position of the camera eye.

    lookEyeOffset?: GameVector3

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

    The offset of the entity's position if the camera eye position is an entity.

    lookTarget?: GameVector3 | GameEntity

    对象的目标点。

    The target point of the object.

    lookTargetOffset?: GameVector3

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

    The offset of the target entity if one is given.

    lookUp?: GameVector3

    相机上方向量。

    The up vector of the camera.

    options: string[]

    选项列表。

    The list of options.

    title?: string

    对话框标题。

    The title of the dialog box.

    titleBackgroundColor?: GameRGBAColor

    对话框标题背景色。

    The background color of the dialog box title.

    titleTextColor?: GameRGBAColor

    对话框标题文字颜色。

    The text color of the dialog box title.