最新版 |
編集中の文章 |
1行目: |
1行目: |
− | [[MonoGame/クラスライブラリ/Microsoft.Xna.Framework名前空間|Microsoft.Xna.Framework名前空間]]にあるもの。 | + | |
| + | |
| + | [[MonoGame/ライブラリ/Microsoft.Xna.Framework名前空間|Microsoft.Xna.Framework名前空間]]にあるもの。 |
| | | |
| == クラス == | | == クラス == |
6行目: |
8行目: |
| ! 名称 !! 概要 | | ! 名称 !! 概要 |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/BoundingFrustumクラス|BoundingFrustumクラス]]
| + | | [[MonoGame/ライブラリ/BoundingFrustumクラス|BoundingFrustumクラス]] || 「[[視錐台]]」で[[ググれ]]。[[Unity]]の説明がわかりやすいぞ。 |
− | | 「[[視錐台]]」で[[ググれ]]。[[Unity]]の説明がわかりやすいぞ。 | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Curveクラス|Curveクラス]]
| + | | [[MonoGame/ライブラリ/Curveクラス|Curveクラス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/CurveKeyクラス|CurveKeyクラス]]
| + | | [[MonoGame/ライブラリ/CurveKeyクラス|CurveKeyクラス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/CurveKeyCollectionクラス|CurveKeyCollectionクラス]]
| + | | [[MonoGame/ライブラリ/CurveKeyCollectionクラス|CurveKeyCollectionクラス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/DrawableGameComponentクラス|DrawableGameComponentクラス]]
| + | | [[MonoGame/ライブラリ/DrawableGameComponentクラス|DrawableGameComponentクラス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/FrameworkDispatcherクラス|FrameworkDispatcherクラス]]
| + | | [[MonoGame/ライブラリ/FrameworkDispatcherクラス|FrameworkDispatcherクラス]] || フレームワーク内部でのイベント処理関連のヘルパークラス |
− | | フレームワーク内部でのイベント処理関連のヘルパークラス | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Gameクラス|Gameクラス]]
| + | | [[MonoGame/ライブラリ/Gameクラス|Gameクラス]] || こいつを継承してゲームを作る。いわゆるメイン関数に相当する最重要クラス。 |
− | | こいつを継承してゲームを作る。いわゆるメイン関数に相当する最重要クラス。 | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/GameComponentクラス|GameComponentクラス]]
| + | | [[MonoGame/ライブラリ/GameComponentクラス|GameComponentクラス]] || ゲーム画面には色々なパーツがあるが、こいつを継承して作ると管理が楽になるらしい。使ったことない。 |
− | | ゲーム画面には色々なパーツがあるが、こいつを継承して作ると管理が楽になるらしい。 | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/GameComponentCollectionクラス|GameComponentCollectionクラス]]
| + | | [[MonoGame/ライブラリ/GameComponentCollectionクラス|GameComponentCollectionクラス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/GameComponentCollectionEventArgsクラス|GameComponentCollectionEventArgsクラス]]
| + | | [[MonoGame/ライブラリ/GameComponentCollectionEventArgsクラス|GameComponentCollectionEventArgsクラス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/GameServiceContainerクラス|GameServiceContainerクラス]]
| + | | [[MonoGame/ライブラリ/GameServiceContainerクラス|GameServiceContainerクラス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/GameTimeクラス|GameTimeクラス]]
| + | | [[MonoGame/ライブラリ/GameTimeクラス|GameTimeクラス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/GameUpdateRequiredExceptionクラス|GameUpdateRequiredExceptionクラス]]
| + | | [[MonoGame/ライブラリ/GameUpdateRequiredExceptionクラス|GameUpdateRequiredExceptionクラス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/GameWindowクラス|GameWindowクラス]]
| + | | [[MonoGame/ライブラリ/GameWindowクラス|GameWindowクラス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/GraphicsDeviceInformationクラス|GraphicsDeviceInformationクラス]]
| + | | [[MonoGame/ライブラリ/GraphicsDeviceInformationクラス|GraphicsDeviceInformationクラス]] || グラフィックスデバイスの作成に使用される設定情報。 |
− | | グラフィックスデバイスの作成に使用される設定情報。 | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/GraphicsDeviceManagerクラス|GraphicsDeviceManagerクラス]]
| + | | [[MonoGame/ライブラリ/GraphicsDeviceManagerクラス|GraphicsDeviceManagerクラス]] || グラフィックデバイスの初期化や制御に使用される。 |
− | | グラフィックデバイスの初期化や制御に使用される。 | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/LaunchParametersクラス|LaunchParametersクラス]]
| + | | [[MonoGame/ライブラリ/LaunchParametersクラス|LaunchParametersクラス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/MathHelperクラス|MathHelperクラス]]
| + | | [[MonoGame/ライブラリ/MathHelperクラス|MathHelperクラス]] || ゲームでよく使われる定数や演算が用意されている便利クラス。 |
− | | ゲームでよく使われる定数や演算が用意されている便利クラス。 | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/PreparingDeviceSettingsEventArgsクラス|PreparingDeviceSettingsEventArgsクラス]]
| + | | [[MonoGame/ライブラリ/PreparingDeviceSettingsEventArgsクラス|PreparingDeviceSettingsEventArgsクラス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/TextInputEventArgsクラス|TextInputEventArgsクラス]]
| + | | [[MonoGame/ライブラリ/TextInputEventArgsクラス|TextInputEventArgsクラス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/TitleContainerクラス|TitleContainerクラス]]
| + | | [[MonoGame/ライブラリ/TitleContainerクラス|TitleContainerクラス]] || コンテンツパイプライン外のファイルを開くのに使う。主にスマホゲームでよくある起動時にダウンロードした追加素材などを開いたりするのに使う。 |
− | | コンテンツパイプライン外のファイルを開くのに使う。スマホゲームでよくある起動時にダウンロードした追加素材などを開いたりするのに便利だが、地味に制約も多いのでオープンソースの強みを活かしてこのクラス風の自前実装を作ったほうが捗る。 | |
| |} | | |} |
| | | |
− | == 構造体 == | + | == インターフェイス == |
| {| class="wikitable" | | {| class="wikitable" |
| |+ | | |+ |
| ! 名称 !! 概要 | | ! 名称 !! 概要 |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/BoundingBox構造体|BoundingBox構造体]]
| + | | [[MonoGame/ライブラリ/IDrawableインターフェイス|IDrawableインターフェイス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/BoundingSphere構造体|BoundingSphere構造体]]
| + | | [[MonoGame/ライブラリ/IGameComponentインターフェイス|IGameComponentインターフェイス]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Color構造体|Color構造体]]
| + | | [[MonoGame/ライブラリ/IGraphicsDeviceManagerインターフェイス|IGraphicsDeviceManagerインターフェイス]] || |
− | | 32ビットのパックカラー。ゲームといえば点順次。 | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Matrix構造体|Matrix構造体]]
| + | | [[MonoGame/ライブラリ/IHasCallbackインターフェイス|IHasCallbackインターフェイス]] || |
− | | 4x4の浮動小数点行列。拡大縮小や回転などの定番の行列計算も一発でやってくれる優れもの。 | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Plane構造体|Plane構造体]]
| + | | [[MonoGame/ライブラリ/IUpdateableインターフェイス|IUpdateableインターフェイス]] || |
− | | | + | |} |
| + | |
| + | == 構造体 == |
| + | {| class="wikitable" |
| + | |+ |
| + | ! 名称 !! 概要 |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Point構造体|Point構造体]]
| + | | [[MonoGame/ライブラリ/BoundingBox構造体|BoundingBox構造体]] || |
− | | 2Dの点。 | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Quaternion構造体|Quaternion構造体]]
| + | | [[MonoGame/ライブラリ/BoundingSphere構造体|BoundingSphere構造体]] || |
− | | [[クォータニオン]]による3次元の回転の計算を効率的にやってくれる優れもの。 | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Ray構造体|Ray構造体]]
| + | | [[MonoGame/ライブラリ/Color構造体|Color構造体]] || 32ビットのパックカラー。ゲームといえば点順次。 |
− | | [[法線]]を飛ばしてくれる優れもの | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Rectangle構造体|Rectangle構造体]]
| + | | [[MonoGame/ライブラリ/Matrix構造体|Matrix構造体]] || 4x4の浮動小数点行列。拡大縮小や回転などの定番の行列計算も一発でやってくれる優れもの。 |
− | | 2Dの四角形 | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Vector2構造体|Vector2構造体]]
| + | | [[MonoGame/ライブラリ/Plane構造体|Plane構造体]] || |
− | | 2Dベクトル。 | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Vector3構造体|Vector3構造体]]
| + | | [[MonoGame/ライブラリ/Point構造体|Point構造体]] || 2Dの点。 |
− | | 3Dベクトル | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Vector4構造体|Vector4構造体]]
| + | | [[MonoGame/ライブラリ/Quaternion構造体|Quaternion構造体]] || [[クォータニオン]]による3次元の回転の計算を効率的にやってくれる優れもの。 |
− | | 4Dベクトル | |
− | |} | |
− | | |
− | == インターフェイス ==
| |
− | {| class="wikitable"
| |
− | |+
| |
− | ! 名称 !! 概要
| |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/IDrawableインターフェイス|IDrawableインターフェイス]] ||
| + | | [[MonoGame/ライブラリ/Ray構造体|Ray構造体]] || 法線を飛ばしてくれる優れもの |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/IGameComponentインターフェイス|IGameComponentインターフェイス]]
| + | | [[MonoGame/ライブラリ/Rectangle構造体|Rectangle構造体]] || 2Dの四角形 |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/IGraphicsDeviceManagerインターフェイス|IGraphicsDeviceManagerインターフェイス]]
| + | | [[MonoGame/ライブラリ/Vector2構造体|Vector2構造体]] || 2Dベクトル。 |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/IHasCallbackインターフェイス|IHasCallbackインターフェイス]]
| + | | [[MonoGame/ライブラリ/Vector3構造体|Vector3構造体]] || 3Dベクトル |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/IUpdateableインターフェイス|IUpdateableインターフェイス]]
| + | | [[MonoGame/ライブラリ/Vector4構造体|Vector4構造体]] || 4Dベクトル |
− | | | |
| |} | | |} |
| | | |
137行目: |
102行目: |
| ! 名称 !! 概要 | | ! 名称 !! 概要 |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/ContainmentType列挙体|ContainmentType列挙体]]
| + | | [[MonoGame/ライブラリ/ContainmentType列挙体|ContainmentType列挙体]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/CurveContinuity列挙体|CurveContinuity列挙体]] ||
| + | | [[MonoGame/ライブラリ/CurveContinuity列挙体|CurveContinuity列挙体]] || |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/CurveLoopType列挙体|CurveLoopType列挙体]]
| + | | [[MonoGame/ライブラリ/CurveLoopType列挙体|CurveLoopType列挙体]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/CurveTangent列挙体|CurveTangent列挙体]]
| + | | [[MonoGame/ライブラリ/CurveTangent列挙体|CurveTangent列挙体]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/DisplayOrientation列挙体|DisplayOrientation列挙体]]
| + | | [[MonoGame/ライブラリ/DisplayOrientation列挙体|DisplayOrientation列挙体]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/GameRunBehavior列挙体|GameRunBehavior列挙体]]
| + | | [[MonoGame/ライブラリ/GameRunBehavior列挙体|GameRunBehavior列挙体]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/PlaneIntersectionType列挙体|PlaneIntersectionType列挙体]]
| + | | [[MonoGame/ライブラリ/PlaneIntersectionType列挙体|PlaneIntersectionType列挙体]] || |
− | | | |
| |- | | |- |
− | ! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/PlayerIndex列挙体|PlayerIndex列挙体]]
| + | | [[MonoGame/ライブラリ/PlayerIndex列挙体|PlayerIndex列挙体]] || |
− | | | |
| |} | | |} |
| | | |
| [[category: MonoGame]] | | [[category: MonoGame]] |