Search Results for

    Show / Hide Table of Contents

    Class ReflectionProbeGenerator

    A reflection probe generator. Receives a texture cube as a framebuffer target.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    Camera
    Camera3D
    ReflectionProbeGenerator
    Implements
    IDependencyObject
    Inherited Members
    Camera3D.FieldOfView
    Camera3D.FrameBuffer
    Camera3D.AspectRatio
    Camera3D.RefreshDimensions()
    Camera3D.RefreshView()
    Camera3D.RefreshProjection()
    Camera.HaltonSequence
    Camera.boundingFrustum
    Camera.viewport
    Camera.ScreenViewport
    Camera.view
    Camera.viewInverse
    Camera.projection
    Camera.unjitteredProjection
    Camera.customProjection
    Camera.renderProjection
    Camera.projectionInverse
    Camera.viewProjection
    Camera.unjitteredViewProjection
    Camera.renderViewProjection
    Camera.viewProjectionInverse
    Camera.previousViewProjectionFlipped
    Camera.cachedPosition
    Camera.jitteringEnabled
    Camera.jitter
    Camera.previousJitter
    Camera.fieldOfView
    Camera.fieldOfViewAxis
    Camera.focalLength
    Camera.sensorSize
    Camera.aspectRatio
    Camera.farPlane
    Camera.nearPlane
    Camera.width
    Camera.height
    Camera.viewportWidth
    Camera.viewportHeight
    Camera.viewportFactor
    Camera.minZ
    Camera.maxZ
    Camera.dirtyPosition
    Camera.dirtyProjection
    Camera.dirtyView
    Camera.dirtyViewProjection
    Camera.unjitteredDirtyViewProjection
    Camera.dirtyPreviousViewProjection
    Camera.dirtyMultiview
    Camera.frameBuffer
    Camera.TargetFrameBuffer
    Camera.graphicsPresenter
    Camera.clearFlags
    Camera.clearDepth
    Camera.clearStencil
    Camera.backgroundColor
    Camera.ev100
    Camera.exposure
    Camera.aperture
    Camera.shutterSpeed
    Camera.sensitivity
    Camera.compensation
    Camera.OnCameraOrderChanged
    Camera.OnRenderPathChanged
    Camera.RenderManager
    Camera.DisplayTagDirty
    Camera.multiviewProperties
    Camera.MultiviewProjection
    Camera.MultiviewView
    Camera.MultiviewViewProjection
    Camera.MultiviewProjectionInverse
    Camera.MultiviewPosition
    Camera.EyeCount
    Camera.IsStereoEnabled
    Camera.FrameBufferUpdateCounter
    Camera.DrawContext
    Camera.TagFilter
    Camera.FrustumCullingEnabled
    Camera.LayerMaskDefaultValue
    Camera.Transform
    Camera.Position
    Camera.Jitter
    Camera.PreviousJitter
    Camera.BoundingFrustum
    Camera.Projection
    Camera.UnjitteredProjection
    Camera.RenderProjection
    Camera.ProjectionInverse
    Camera.CustomProjection
    Camera.View
    Camera.ViewInverse
    Camera.ViewProjection
    Camera.UnjitteredViewProjection
    Camera.RenderViewProjection
    Camera.ViewProjectionInverse
    Camera.RenderViewProjectionInverse
    Camera.PreviousViewProjection
    Camera.BackgroundColor
    Camera.LinearBackgroundColor
    Camera.ClearFlags
    Camera.ClearDepth
    Camera.ClearStencil
    Camera.UsePhysicalParameters
    Camera.FieldOfViewAxis
    Camera.FocalLength
    Camera.SensorSize
    Camera.AutoExposureEnabled
    Camera.MinLogLuminance
    Camera.LogLuminanceRange
    Camera.TAU
    Camera.EV100
    Camera.AutoDepthBounds
    Camera.Exposure
    Camera.Aperture
    Camera.ShutterSpeed
    Camera.Sensitivity
    Camera.Compensation
    Camera.FocalDistance
    Camera.Display
    Camera.DisplayTag
    Camera.CameraOrder
    Camera.LayerMask
    Camera.Viewport
    Camera.IsClipDepthZeroToOne
    Camera.FlipYProjection
    Camera.RenderPath
    Camera.CullingSystem
    Camera.JitteringEnabled
    Camera.CalculateRay(ref Vector2, out Ray)
    Camera.WorldToScreen(ref Vector3)
    Camera.WorldToScreen(ref Vector3, out Vector3)
    Camera.ScreenToWorld(ref Vector3)
    Camera.ScreenToWorld(ref Vector3, out Vector3)
    Camera.SetCustomProjection(ref Matrix4x4)
    Camera.SetCustomProjection(Matrix4x4)
    Camera.ResetCustomProjection()
    Camera.UnsuscribeDisplayEvents()
    Camera.SuscribeDisplayEvents()
    Camera.RefreshFrameBuffer()
    Camera.RefreshViewProjection()
    Camera.RefreshUnjitteredViewProjection()
    Camera.PreRender()
    Camera.PostRender()
    Camera.RefreshAspectRatio()
    Camera.WithinEpsilon(float, float)
    Camera.SetStereoProperties(ViewProperties[])
    Camera.RefreshStereoProperties()
    Camera.AddAdditionalDirectives(List<string>)
    Camera.RefreshPhysicalFieldOfView()
    Camera.UpdateJittering(ref Matrix4x4)
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.Start()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    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
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework.Graphics
    Assembly: Evergine.Framework.dll
    Syntax
    public class ReflectionProbeGenerator : Camera3D, IDependencyObject

    Fields

    reflectionTexture

    The reflection probe's texture.

    Declaration
    protected Texture reflectionTexture
    Field Value
    Type Description
    Texture

    Properties

    CameraShouldRender

    Gets a value indicating whether this camera should be rendered.

    Declaration
    public override bool CameraShouldRender { get; }
    Property Value
    Type Description
    bool
    Overrides
    Camera.CameraShouldRender

    FarPlane

    Gets or sets the far plane.

    Declaration
    public override float FarPlane { get; set; }
    Property Value
    Type Description
    float

    The far plane.

    Overrides
    Camera3D.FarPlane

    HDREnabled

    Gets or sets a value indicating whether this reflection probe uses an HDR texture.

    Declaration
    public override bool HDREnabled { get; set; }
    Property Value
    Type Description
    bool
    Overrides
    Camera.HDREnabled

    NearPlane

    Gets or sets the near plane.

    Declaration
    public override float NearPlane { get; set; }
    Property Value
    Type Description
    float

    The near plane.

    Overrides
    Camera3D.NearPlane

    ProbeSize

    Gets or sets the size of the cubemap.

    Declaration
    public PowerOfTwoSize ProbeSize { get; set; }
    Property Value
    Type Description
    PowerOfTwoSize

    ReflectionProbe

    Gets the reflection probe.

    Declaration
    public ReflectionProbe ReflectionProbe { get; }
    Property Value
    Type Description
    ReflectionProbe

    ReflectionTexture

    Gets the reflection probe texture.

    Declaration
    public Texture ReflectionTexture { get; }
    Property Value
    Type Description
    Texture

    UpdateStrategy

    Gets or sets the update strategy.

    Declaration
    public ReflectionProbeUpdateStrategy UpdateStrategy { get; set; }
    Property Value
    Type Description
    ReflectionProbeUpdateStrategy

    Methods

    FireOnReflectionProbeUpdated()

    Fires the OnReflectionProbeUpdated event.

    Declaration
    protected void FireOnReflectionProbeUpdated()

    OnActivated()

    Invoked when the object is activated once it is attached.

    Declaration
    protected override void OnActivated()
    Overrides
    Component.OnActivated()

    OnAttached()

    Attaches the camera to the system.

    Declaration
    protected override bool OnAttached()
    Returns
    Type Description
    bool

    True if everything is OK.

    Overrides
    Camera3D.OnAttached()

    OnDeactivated()

    Invoked when the object is deactivated.

    Declaration
    protected override void OnDeactivated()
    Overrides
    Component.OnDeactivated()

    OnDetach()

    Detaches the camera from the system.

    Declaration
    protected override void OnDetach()
    Overrides
    Camera.OnDetach()

    OnLoaded()

    Invoked when the object is loaded.

    Declaration
    protected override void OnLoaded()
    Overrides
    Component.OnLoaded()

    OnPositionChanged()

    The transform position has been changed.

    Declaration
    protected override void OnPositionChanged()
    Overrides
    Camera.OnPositionChanged()

    RenderNextFrame()

    Forces the rendering of the next frame.

    Declaration
    public void RenderNextFrame()

    UpdateReflectionProbeAsync()

    Enqueues the order to update the reflection probe and returns an awaitable task that will be completed when the probe has been updated.

    Declaration
    public Task<ReflectionProbe> UpdateReflectionProbeAsync()
    Returns
    Type Description
    Task<ReflectionProbe>

    An awaitable task with the reflection probe updated.

    UpdateReflectionProbeAsync(CancellationToken)

    Enqueues the order to update the reflection probe and returns an awaitable task that will be completed when the probe has been updated.

    Declaration
    public Task<ReflectionProbe> UpdateReflectionProbeAsync(CancellationToken cancellationToken)
    Parameters
    Type Name Description
    CancellationToken cancellationToken

    The cancellation token for the awaitable task.

    Returns
    Type Description
    Task<ReflectionProbe>

    An awaitable task with the reflection probe updated.

    Events

    OnReflectionProbeUpdated

    Event fired when the reflection probe is updated.

    Declaration
    public event EventHandler<ReflectionProbe> OnReflectionProbeUpdated
    Event Type
    Type Description
    EventHandler<ReflectionProbe>

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX