docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class IESImporterEditor

    Common class for IES Importer Editor (currently implemented only on HDRP)

    Inheritance
    object
    IESImporterEditor
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public class IESImporterEditor

    Fields

    m_LightAimAxisRotationProp

    Property to the aim axis rotation for projection

    Declaration
    protected SerializedProperty m_LightAimAxisRotationProp
    Field Value
    Type Description
    SerializedProperty

    m_PreviewRenderUtility

    Object used to setup Preview renderer

    Declaration
    protected PreviewRenderUtility m_PreviewRenderUtility
    Field Value
    Type Description
    PreviewRenderUtility

    Methods

    CommonApply()

    Callback called on the Implemented IESImporterEditor (currently on HDRP Only)

    Declaration
    public void CommonApply()

    CommonGetPreviewTitle()

    Callback called on the Implemented IESImporterEditor (currently on HDRP Only)

    Declaration
    public GUIContent CommonGetPreviewTitle()
    Returns
    Type Description
    GUIContent

    The title of the Preview

    CommonHasPreviewGUI(SetupRenderPipelinePreviewCamera, SetupRenderPipelinePreviewLight, SetupRenderPipelinePreviewWallRenderer, SetupRenderPipelinePreviewFloorRenderer)

    Callback called on the Implemented IESImporterEditor (currently on HDRP Only)

    Declaration
    public bool CommonHasPreviewGUI(IESImporterEditor.SetupRenderPipelinePreviewCamera setupRenderPipelinePreviewCamera, IESImporterEditor.SetupRenderPipelinePreviewLight setupRenderPipelinePreviewLight, IESImporterEditor.SetupRenderPipelinePreviewWallRenderer setupRenderPipelinePreviewWallRenderer, IESImporterEditor.SetupRenderPipelinePreviewFloorRenderer setupRenderPipelinePreviewFloorRenderer)
    Parameters
    Type Name Description
    IESImporterEditor.SetupRenderPipelinePreviewCamera setupRenderPipelinePreviewCamera

    Delegate provided by the Render pipeline to setup the Preview Camera

    IESImporterEditor.SetupRenderPipelinePreviewLight setupRenderPipelinePreviewLight

    Delegate provided by the Render pipeline to setup the Preview Wall

    IESImporterEditor.SetupRenderPipelinePreviewWallRenderer setupRenderPipelinePreviewWallRenderer

    Delegate provided by the Render pipeline to setup the Preview Floor

    IESImporterEditor.SetupRenderPipelinePreviewFloorRenderer setupRenderPipelinePreviewFloorRenderer

    Delegate provided by the Render pipeline to setup the Preview Light

    Returns
    Type Description
    bool

    true to specified IES has a Preview

    CommonOnDisable()

    Callback called on the Implemented IESImporterEditor (currently on HDRP Only)

    Declaration
    public void CommonOnDisable()

    CommonOnEnable(SerializedProperty)

    Callback called on the Implemented IESImporterEditor (currently on HDRP Only)

    Declaration
    public void CommonOnEnable(SerializedProperty serializedObject)
    Parameters
    Type Name Description
    SerializedProperty serializedObject

    Serialized object which can be linked to IESMetadata

    CommonOnInspectorGUI(ScriptedImporterEditor)

    Callback called on the Implemented IESImporterEditor (currently on HDRP Only)

    Declaration
    public void CommonOnInspectorGUI(ScriptedImporterEditor scriptedImporter)
    Parameters
    Type Name Description
    ScriptedImporterEditor scriptedImporter

    The current specialized scripted importer using the common code

    CommonOnPreviewGUI(Rect, GUIStyle, ScriptedImporter, SetupRenderPipelinePreviewLightIntensity)

    Callback called on the Implemented IESImporterEditor (currently on HDRP Only)

    Declaration
    public void CommonOnPreviewGUI(Rect r, GUIStyle background, ScriptedImporter target, IESImporterEditor.SetupRenderPipelinePreviewLightIntensity setupRenderPipelinePreviewLightIntensity)
    Parameters
    Type Name Description
    Rect r

    Rect of the Preview

    GUIStyle background

    Background of the Preview

    ScriptedImporter target

    ScriptedImporter targeted

    IESImporterEditor.SetupRenderPipelinePreviewLightIntensity setupRenderPipelinePreviewLightIntensity

    Delegate provided by the Rendering Pipeline to setup the Light Intensity

    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, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    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)