CreateViewportMatrix

ビューポート行列を作成する

val = CreateViewportMatrix(Out, CenterX, CenterY, Width, Height)

MATRIX   *Out
float  CenterX
float  CenterY
float  Width
float  Height

(プラグイン / モジュール : DxLibW)

解説

ビューポート行列を作成する

成功するとハンドルが返ります。失敗した場合は -1 が返ります。
※ DxLib のハンドル値は 32bit/64bit 共に int 型です。

戻り値: int

関連項目

CreateViewportMatrixDビューポート行列を作成する(DxLibW)

情報

プラグイン / モジュールDxLibW
バージョン3.24f
作成日2026/04/12
著作者DxLib: Takumi Yamada / HSP binding: IronHSP Project
URLhttps://dxlib.xsrv.jp/
備考hspdxlib.as をインクルードして使用
タイプDxLib ゲームライブラリ
グループDxLib その他
対応環境
  • Windows 版 HSP
hs ファイルhsphelp\hspdxlib.hs