docs.unity3d.com
    显示 / 隐藏目录

    Class HDIESImporterEditor

    Class describing the logic for importer an IES file an generating the IESObject associated

    Inheritance
    Object
    HDIESImporterEditor
    Namespace: UnityEditor.Rendering.HighDefinition
    Syntax
    [CustomEditor(typeof(IESImporter))]
    public class HDIESImporterEditor : ScriptedImporterEditor

    Fields

    iesImporterEditor

    IES Importer Editor, common to Core and HDRP

    Declaration
    public IESImporterEditor iesImporterEditor
    Field Value
    Type Description
    IESImporterEditor

    Methods

    Apply()

    Call back for ScriptedImporterEditor

    Declaration
    protected override void Apply()

    GetPreviewTitle()

    Call back for ScriptedImporterEditor

    Declaration
    public override GUIContent GetPreviewTitle()
    Returns
    Type Description
    GUIContent

    The title of the Preview

    HasPreviewGUI()

    Call back for ScriptedImporterEditor

    Declaration
    public override bool HasPreviewGUI()
    Returns
    Type Description
    Boolean

    If this importer has a preview or not

    OnDisable()

    Call back for ScriptedImporterEditor

    Declaration
    public override void OnDisable()

    OnEnable()

    Call back for ScriptedImporterEditor

    Declaration
    public override void OnEnable()

    OnInspectorGUI()

    Call back for ScriptedImporterEditor

    Declaration
    public override void OnInspectorGUI()

    OnPreviewGUI(Rect, GUIStyle)

    Call back for ScriptedImporterEditor

    Declaration
    public override void OnPreviewGUI(Rect r, GUIStyle background)
    Parameters
    Type Name Description
    Rect r

    Rectangle of the preview.

    GUIStyle background

    Style of the background of the preview.

    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)