PlaneProjection クラス

定義

オブジェクトのパースペクティブ変換 (3-D のような効果) を表します。

public ref class PlaneProjection sealed : Projection
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PlaneProjection final : Projection
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PlaneProjection : Projection
Public NotInheritable Class PlaneProjection
Inherits Projection
<PlaneProjection .../>
継承
Object Platform::Object IInspectable DependencyObject Projection PlaneProjection
属性

UIElement にパースペクティブ変換を適用するには、UIElement オブジェクトの Projection プロパティを PlaneProjection に設定します。 PlaneProjection は、変換を空間内でどのようにレンダリングするかを定義します。 この例では、単純なケースを示します。

<StackPanel Margin="35" Background="Gray">
    <StackPanel.Projection>
        <PlaneProjection RotationX="-35" RotationY="-35" RotationZ="15"  />
    </StackPanel.Projection>
    <TextBlock Margin="10">Type Something Below</TextBlock>
    <TextBox Margin="10"></TextBox>
    <Button Margin="10" Content="Click" Width="100" />
</StackPanel>

コンストラクター

PlaneProjection()

PlaneProjection クラスの新しいインスタンスを初期化します。

プロパティ

CenterOfRotationX

回転するオブジェクトの回転の中心の x 座標を取得または設定します。

CenterOfRotationXProperty

CenterOfRotationX 依存関係プロパティを識別します。

CenterOfRotationY

回転するオブジェクトの回転の中心の y 座標を取得または設定します。

CenterOfRotationYProperty

CenterOfRotationY 依存関係プロパティを識別します。

CenterOfRotationZ

回転するオブジェクトの回転の中心の z 座標を取得または設定します。

CenterOfRotationZProperty

CenterOfRotationZ 依存関係プロパティを識別します。

Dispatcher

常に Windows アプリ SDK アプリで を返しますnull。 代わりに DispatcherQueue を使用してください。

(継承元 DependencyObject)
DispatcherQueue

このオブジェクトが DispatcherQueue 関連付けられている を取得します。 は DispatcherQueue 、コードが UI 以外のスレッドによって開始された場合でも、UI スレッド上の にアクセス DependencyObject できる機能を表します。

(継承元 DependencyObject)
GlobalOffsetX

オブジェクトが画面の x 軸に沿って変換される距離を取得または設定します。

GlobalOffsetXProperty

GlobalOffsetX 依存関係プロパティを識別します。

GlobalOffsetY

オブジェクトが画面の y 軸に沿って変換される距離を取得または設定します。

GlobalOffsetYProperty

GlobalOffsetY 依存関係プロパティを識別します。

GlobalOffsetZ

オブジェクトが画面の z 軸に沿って変換される距離を取得または設定します。

GlobalOffsetZProperty

GlobalOffsetZ 依存関係プロパティを識別します。

LocalOffsetX

オブジェクトの平面の x 軸に沿ってオブジェクトを平行移動する距離を取得または設定します。

LocalOffsetXProperty

LocalOffsetX 依存関係プロパティを識別します。

LocalOffsetY

オブジェクトの平面の y 軸に沿ってオブジェクトを平行移動する距離を取得または設定します。

LocalOffsetYProperty

LocalOffsetY 依存関係プロパティを識別します。

LocalOffsetZ

オブジェクトの平面の z 軸に沿ってオブジェクトを平行移動する距離を取得または設定します。

LocalOffsetZProperty

LocalOffsetZ 依存関係プロパティを識別します。

ProjectionMatrix

PlaneProjection の射影行列を取得します。

ProjectionMatrixProperty

ProjectionMatrix 依存関係プロパティを識別します。

RotationX

オブジェクトを x 軸の回転角度で回転させる角度を取得または設定します。

RotationXProperty

RotationX 依存関係プロパティを識別します。

RotationY

オブジェクトを y 軸の周りに回転させる角度を取得または設定します。

RotationYProperty

RotationY 依存関係プロパティを識別します。

RotationZ

z 軸の回転角度を取得または設定します。

RotationZProperty

RotationZ 依存関係プロパティを識別します。

メソッド

ClearValue(DependencyProperty)

依存関係プロパティのローカル値をクリアします。

(継承元 DependencyObject)
GetAnimationBaseValue(DependencyProperty)

依存関係プロパティに対して確立された基本値を返します。これは、アニメーションがアクティブでない場合に適用されます。

(継承元 DependencyObject)
GetValue(DependencyProperty)

DependencyObject から依存関係プロパティの現在の有効な値を返します。

(継承元 DependencyObject)
ReadLocalValue(DependencyProperty)

ローカル値が設定されている場合は、依存関係プロパティのローカル値を返します。

(継承元 DependencyObject)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback)

この DependencyObject インスタンスの特定の DependencyProperty に対する変更をリッスンするための通知関数を登録します。

(継承元 DependencyObject)
SetValue(DependencyProperty, Object)

DependencyObject の依存関係プロパティのローカル値を設定します。

(継承元 DependencyObject)
UnregisterPropertyChangedCallback(DependencyProperty, Int64)

RegisterPropertyChangedCallback を呼び出して以前に登録した変更通知を取り消します。

(継承元 DependencyObject)

適用対象

こちらもご覧ください