「MonoGame/クラスライブラリ/Microsoft.Xna.Framework名前空間」の版間の差分

imported>Administrator
編集の要約なし
 
(2人の利用者による、間の3版が非表示)
1行目: 1行目:
[[MonoGame/クラスライブラリ/Microsoft.Xna.Framework名前空間|Microsoft.Xna.Framework名前空間]]にあるもの。
[[MonoGame/クラスライブラリ/Microsoft.Xna.Framework名前空間|Microsoft.Xna.Framework名前空間]]にあるもの。


8行目: 6行目:
! 名称 !! 概要
! 名称 !! 概要
|-
|-
| [[MonoGame/クラスライブラリ/BoundingFrustumクラス|BoundingFrustumクラス]] || 「[[視錐台]]」で[[ググれ]]。[[Unity]]の説明がわかりやすいぞ。
! 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クラス]]
| コンテンツパイプライン外のファイルを開くのに使う。スマホゲームでよくある起動時にダウンロードした追加素材などを開いたりするのに便利だが、地味に制約も多いのでオープンソースの強みを活かしてこのクラス風の自前実装を作ったほうが捗る。
|}
|}


== インターフェイス ==
== 構造体 ==
{| class="wikitable"
{| class="wikitable"
|+
|+
! 名称 !! 概要
! 名称 !! 概要
|-
|-
| [[MonoGame/クラスライブラリ/IDrawableインターフェイス|IDrawableインターフェイス]] ||
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/BoundingBox構造体|BoundingBox構造体]]
|  
|-
|-
| [[MonoGame/クラスライブラリ/IGameComponentインターフェイス|IGameComponentインターフェイス]] ||  
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/BoundingSphere構造体|BoundingSphere構造体]]
|  
|-
|-
| [[MonoGame/クラスライブラリ/IGraphicsDeviceManagerインターフェイス|IGraphicsDeviceManagerインターフェイス]] ||
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Color構造体|Color構造体]]
| 32ビットのパックカラー。ゲームといえば点順次。
|-
|-
| [[MonoGame/クラスライブラリ/IHasCallbackインターフェイス|IHasCallbackインターフェイス]] ||
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Matrix構造体|Matrix構造体]]
| 4x4の浮動小数点行列。拡大縮小や回転などの定番の行列計算も一発でやってくれる優れもの。
|-
|-
| [[MonoGame/クラスライブラリ/IUpdateableインターフェイス|IUpdateableインターフェイス]] ||
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Plane構造体|Plane構造体]]
|}
|  
 
== 構造体 ==
{| class="wikitable"
|+
! 名称 !! 概要
|-
|-
| [[MonoGame/クラスライブラリ/BoundingBox構造体|BoundingBox構造体]] ||
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Point構造体|Point構造体]]
| 2Dの点。
|-
|-
| [[MonoGame/クラスライブラリ/BoundingSphere構造体|BoundingSphere構造体]] ||
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Quaternion構造体|Quaternion構造体]]
| [[クォータニオン]]による3次元の回転の計算を効率的にやってくれる優れもの。
|-
|-
| [[MonoGame/クラスライブラリ/Color構造体|Color構造体]] || 32ビットのパックカラー。ゲームといえば点順次。
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Ray構造体|Ray構造体]]
| [[法線]]を飛ばしてくれる優れもの
|-
|-
| [[MonoGame/クラスライブラリ/Matrix構造体|Matrix構造体]] || 4x4の浮動小数点行列。拡大縮小や回転などの定番の行列計算も一発でやってくれる優れもの。
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Rectangle構造体|Rectangle構造体]]
| 2Dの四角形
|-
|-
| [[MonoGame/クラスライブラリ/Plane構造体|Plane構造体]] ||
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Vector2構造体|Vector2構造体]]
| 2Dベクトル。
|-
|-
| [[MonoGame/クラスライブラリ/Point構造体|Point構造体]] || 2Dの点。
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Vector3構造体|Vector3構造体]]
| 3Dベクトル
|-
|-
| [[MonoGame/クラスライブラリ/Quaternion構造体|Quaternion構造体]] || [[クォータニオン]]による3次元の回転の計算を効率的にやってくれる優れもの。
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/Vector4構造体|Vector4構造体]]
| 4Dベクトル
|}
 
== インターフェイス ==
{| class="wikitable"
|+
! 名称 !! 概要
|-
|-
| [[MonoGame/クラスライブラリ/Ray構造体|Ray構造体]] || [[法線]]を飛ばしてくれる優れもの
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/IDrawableインターフェイス|IDrawableインターフェイス]] ||
|-
|-
| [[MonoGame/クラスライブラリ/Rectangle構造体|Rectangle構造体]] || 2Dの四角形
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/IGameComponentインターフェイス|IGameComponentインターフェイス]]
|  
|-
|-
| [[MonoGame/クラスライブラリ/Vector2構造体|Vector2構造体]] || 2Dベクトル。
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/IGraphicsDeviceManagerインターフェイス|IGraphicsDeviceManagerインターフェイス]]
|  
|-
|-
| [[MonoGame/クラスライブラリ/Vector3構造体|Vector3構造体]] || 3Dベクトル
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/IHasCallbackインターフェイス|IHasCallbackインターフェイス]]
|  
|-
|-
| [[MonoGame/クラスライブラリ/Vector4構造体|Vector4構造体]] || 4Dベクトル
! style="white-space:nowrap;text-align:left" | [[MonoGame/クラスライブラリ/IUpdateableインターフェイス|IUpdateableインターフェイス]]
|  
|}
|}


102行目: 137行目:
! 名称 !! 概要
! 名称 !! 概要
|-
|-
| [[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]]