PointLight クラス

定義

すべての方向に光を発する光源。

public ref class PointLight sealed : CompositionLight
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.LiftedContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PointLight final : CompositionLight
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Foundation.WindowsAppSDKContract, 65536)]
class PointLight final : CompositionLight
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.LiftedContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PointLight : CompositionLight
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Foundation.WindowsAppSDKContract), 65536)]
public sealed class PointLight : CompositionLight
Public NotInheritable Class PointLight
Inherits CompositionLight
継承
Object Platform::Object IInspectable CompositionObject CompositionLight PointLight
属性

注釈

PointLight は、すべての方向に均等に光を放ちます。

PointLight は、 CompositionLight から派生した 4 種類のライトの 1 つです。

説明
AmbientLight シーン内のすべてのものが反射しているように見える非方向ライトを放射する光源。
DistantLight 1 つの方向に光を発する、無限に遠く離れた光源。
PointLight すべての方向に光を出す点光源。
SpotLight 光の内部コーンと外部コーンを生成する光源。

注意

ビジュアルは、2 つ以上の非アンビエント ライト (PointLight、SpotLight、または DistantLight) の対象にすることはできません。

プロパティ

Color

光の色。

Comment

CompositionObject に関連付ける文字列。

(継承元 CompositionObject)
Compositor

この CompositionObject の作成に使用されるコンポジター

(継承元 CompositionObject)
ConstantAttenuation

ライトの減衰方程式の定数係数。 光の強度を制御します。

CoordinateSpace

ライトのオフセットを決定するために使用されるビジュアル。 ライトのオフセット プロパティは、この Visual の座標空間に対して相対的です。 PointLight.CoordinateSpace は必須のプロパティです。 PointLight.CoordinateSpace が設定されていない場合、PointLight はレンダリングされません。

DispatcherQueue

CompositionObject の DispatcherQueue を取得します。

(継承元 CompositionObject)
ExclusionsFromTargets

ライトの対象ではないビジュアルのコレクションを取得します。

(継承元 CompositionLight)
ImplicitAnimations

このオブジェクトにアタッチされた暗黙的なアニメーションのコレクション。

(継承元 CompositionObject)
Intensity

ライトの強度を取得または設定します。

IsEnabled

コンポジション ライトがオンかどうかを決定する値を取得または設定します。

(継承元 CompositionLight)
LinearAttenuation

距離と共にライトがどのように減衰するかを決定する、ライトの減衰式の線形係数。

MaxAttenuationCutoff

このライトが有効な最大範囲を取得または設定します。

MinAttenuationCutoff

このライトが有効な最小範囲を取得または設定します。

Offset

座標空間のビジュアルを基準とした光源のオフセット。

Properties

CompositionObject に関連付けられているプロパティのコレクション。

(継承元 CompositionObject)
QuadraticAttenuation

距離と共にライトが落ちる方法を決定する減衰方程式の 2 次部分。

Targets

ライトの対象となるビジュアルのコレクション。

(継承元 CompositionLight)

メソッド

Close()

CompositionObject を閉じ、システム リソースを解放します。

(継承元 CompositionObject)
Dispose()

アンマネージ リソースの解放またはリセットに関連付けられているアプリケーション定義のタスクを実行します。

(継承元 CompositionObject)
PopulatePropertyInfo(String, AnimationPropertyInfo)

アニメーション化できるプロパティを定義します。

(継承元 CompositionObject)
StartAnimation(String, CompositionAnimation)

アニメーションをオブジェクトの指定したプロパティに接続し、アニメーションを開始します。

(継承元 CompositionObject)
StartAnimation(String, CompositionAnimation, AnimationController)

アニメーションをオブジェクトの指定したプロパティに接続し、アニメーションを開始します。

(継承元 CompositionObject)
StartAnimationGroup(ICompositionAnimationBase)

アニメーション グループを開始します。

CompositionObject の StartAnimationGroup メソッドを使用すると、CompositionAnimationGroup を開始できます。 グループ内のすべてのアニメーションは、オブジェクトで同時に開始されます。

(継承元 CompositionObject)
StopAnimation(String)

指定したプロパティからアニメーションを切断し、アニメーションを停止します。

(継承元 CompositionObject)
StopAnimationGroup(ICompositionAnimationBase)

アニメーション グループを停止します。

(継承元 CompositionObject)
TryGetAnimationController(String)

指定したプロパティで実行されているアニメーションの AnimationController を返します。

(継承元 CompositionObject)

適用対象

こちらもご覧ください