a3js API Documentation - v1.3.1
    Preparing search index...

    Interface GameCanvasOptions

    GameCanvas の生成オプションです。

    interface GameCanvasOptions {
        height: string;
        touchDevice: boolean;
        width: string;
    }
    Index

    Properties

    height: string

    GameCanvasの要素()の幅をCSS文字列で指定します。デフォルトは "300px" です。

    touchDevice: boolean

    タッチデバイス用UIを表示するかどうか。true でジョイスティックとボタンを表示します。省略時はタッチ対応デバイスか自動判定します。

    width: string

    GameCanvasの要素()の幅をCSS文字列で指定します。デフォルトは "600px" です。