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