Class XRLightEstimationBehavior
Class that changes the light intensity based on the AR mobile light estimation.
Inheritance
DependencyObject
AttachableObject
PrefabInstanceObject
Component
Behavior
XRLightEstimationBehavior
Implements
Inherited Members
Behavior.Family
Behavior.UpdateOrder
Behavior.OnAttached()
Behavior.OnDetach()
Component.Owner
Component.Managers
Component.ShouldBeActivated
Component.Clone()
Component.Attach(Entity)
Component.OnLoaded()
Component.OnActivated()
Component.Start()
Component.OnDeactivated()
Component.OnDestroy()
PrefabInstanceObject.PrefabSource
PrefabInstanceObject.PrefabElementId
PrefabInstanceObject.IsPrefabInstance
PrefabInstanceObject.IsMissingPrefabSource
AttachableObject.AttachableStateChanged
AttachableObject.IsEnabled
AttachableObject.State
AttachableObject.IsLoaded
AttachableObject.IsAttached
AttachableObject.IsActivated
AttachableObject.IsStarted
AttachableObject.IsDestroyed
AttachableObject.Destroy()
AttachableObject.DependencyBroken()
DependencyObject.Dependencies
DependencyObject.OnDependencyRemoved
Namespace: Evergine.Components.XR
Assembly: Evergine.Components.dll
Syntax
public class XRLightEstimationBehavior : Behavior, IDependencyObject
Fields
light
The light.
Declaration
[BindComponent(true, false, BindComponentSource.Owner, null, true)]
protected PhotometricDirectionalLight light
Field Value
Type | Description |
---|---|
PhotometricDirectionalLight |
Methods
Update(TimeSpan)
Allows this instance to execute custom logic during its Update
.
Declaration
protected override void Update(TimeSpan gameTime)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | gameTime | The game time. |
Overrides
Remarks
This method will not be executed if the Evergine.Framework.Component, or the Evergine.Framework.Entity
owning it are not Active
.