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