docs.unity3d.com

Core RP Library 17.0.3

Search Results for

    Show / Hide Table of Contents

    Class AdaptiveProbeVolumes.VirtualOffsetBaker

    Virtual offset baker

    Inheritance
    object
    AdaptiveProbeVolumes.VirtualOffsetBaker
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public abstract class AdaptiveProbeVolumes.VirtualOffsetBaker : IDisposable

    Properties

    currentStep

    The current baking step.

    Declaration
    public abstract ulong currentStep { get; }
    Property Value
    Type Description
    ulong

    offsets

    Array storing the resulting virtual offsets to be applied to probe positions.

    Declaration
    public abstract NativeArray<Vector3> offsets { get; }
    Property Value
    Type Description
    NativeArray<Vector3>

    stepCount

    The total amount of step.

    Declaration
    public abstract ulong stepCount { get; }
    Property Value
    Type Description
    ulong

    Methods

    Dispose()

    Performs necessary tasks to free allocated resources.

    Declaration
    public abstract void Dispose()

    Initialize(ProbeVolumeBakingSet, NativeArray<Vector3>)

    This is called before the start of baking to allow allocating necessary resources.

    Declaration
    public abstract void Initialize(ProbeVolumeBakingSet bakingSet, NativeArray<Vector3> probePositions)
    Parameters
    Type Name Description
    ProbeVolumeBakingSet bakingSet

    The baking set that is currently baked.

    NativeArray<Vector3> probePositions

    The probe positions.

    Step()

    Run a step of virtual offset baking. Baking is considered done when currentStep property equals stepCount.

    Declaration
    public abstract bool Step()
    Returns
    Type Description
    bool

    Return false if bake failed and should be stopped.

    Implements

    IDisposable

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    • Properties
      • currentStep
      • offsets
      • stepCount
    • Methods
      • Dispose()
      • Initialize(ProbeVolumeBakingSet, NativeArray<Vector3>)
      • Step()
    • Implements
    • Extension Methods
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)