Class GcProxy
ユーザー定義クラスからGameCanvasの機能を呼び出すためのクラス
Inheritance
System.Object
GcProxy
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: GameCanvas
Assembly: GameCanvas.dll
Syntax
public sealed class GcProxy : IGameCanvas, IGraphicsEx, IGraphics, ISoundEx, ISound, INetworkEx, INetwork, ISceneManagementEx, ISceneManagement, ITimeEx, ITime, IPhysicsEx, IPhysics, IStorageEx, IStorage, IMathEx, IMath, IInputPointerEx, IInputPointer, IInputKeyEx, IInputKey, IInputAccelerationEx, IInputAcceleration, IInputGeolocationEx, IInputGeolocation, IInputCameraEx, IInputCamera
Properties
AccelerationEventCount
前回のフレーム処理以降に検出した 加速度イベントの数
Declaration
public int AccelerationEventCount { get; }
Property Value
Type | Description |
---|---|
Int32 |
AccelerationEvents
前回のフレーム処理以降に検出した 加速度イベントの列挙子
Declaration
public ReadOnlySpan<GcAccelerationEvent> AccelerationEvents { get; }
Property Value
Type | Description |
---|---|
ReadOnlySpan<GcAccelerationEvent> |
AccelerometerSamplingRate
加速度計の動作周波数
Declaration
public float AccelerometerSamplingRate { get; set; }
Property Value
Type | Description |
---|---|
Single |
BackgroundColor
背景色
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
BorderColor
キャンバス外に表示される帯の色
Declaration
public Color BorderColor { get; }
Property Value
Type | Description |
---|---|
Color |
Remarks
ChangeBorderColor(Color) を呼び出すことで変更できます
CameraDeviceCount
認識可能なカメラ(外部入力映像)の数
Declaration
public int CameraDeviceCount { get; }
Property Value
Type | Description |
---|---|
Int32 |
CameraDevices
全ての認識可能なカメラ(外部入力映像)の一覧
Declaration
public ReadOnlySpan<GcCameraDevice> CameraDevices { get; }
Property Value
Type | Description |
---|---|
ReadOnlySpan<GcCameraDevice> |
CanvasAABB
キャンバスのAABB
Declaration
public GcAABB CanvasAABB { get; }
Property Value
Type | Description |
---|---|
GcAABB |
CanvasCenter
キャンバスの中心座標
Declaration
public float2 CanvasCenter { get; }
Property Value
Type | Description |
---|---|
float2 |
CanvasHeight
キャンバスの縦幅
Declaration
public int CanvasHeight { get; }
Property Value
Type | Description |
---|---|
Int32 |
CanvasResolution
キャンバスの解像度とリフレッシュレート
Declaration
public GcResolution CanvasResolution { get; }
Property Value
Type | Description |
---|---|
GcResolution |