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

    Type Alias GameTextDialogParams

    游戏文本对话框参数类型定义

    type GameTextDialogParams = {
        content: string;
        contentBackgroundColor?: GameRGBAColor;
        contentTextColor?: GameRGBAColor;
        hasArrow?: boolean;
        lookEye?: GameVector3 | GameEntity;
        lookEyeOffset?: GameVector3;
        lookTarget?: GameVector3 | GameEntity;
        lookTargetOffset?: GameVector3;
        lookUp?: GameVector3;
        title?: string;
        titleBackgroundColor?: GameRGBAColor;
        titleTextColor?: GameRGBAColor;
        type: TEXT;
    }
    Index

    Properties

    content: string

    对话框内容

    contentBackgroundColor?: GameRGBAColor

    对话框背景色

    contentTextColor?: GameRGBAColor

    对话框文字颜色

    hasArrow?: boolean

    是否绘制箭头

    相机眼位置

    lookEyeOffset?: GameVector3

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

    lookTarget?: GameVector3 | GameEntity

    对象的目标点

    lookTargetOffset?: GameVector3

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

    lookUp?: GameVector3

    相机上方向量

    title?: string

    对话框标题

    titleBackgroundColor?: GameRGBAColor

    对话框标题背景色

    titleTextColor?: GameRGBAColor

    对话框标题文字颜色

    type: TEXT