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

    Class SimulationVideoContextSettings

    Settings used for video feed spatial contexts for simulation

    Inheritance
    Object
    ScriptableSettingsBase
    ScriptableSettingsBase<SimulationVideoContextSettings>
    ScriptableSettings<SimulationVideoContextSettings>
    SimulationVideoContextSettings
    Inherited Members
    ScriptableSettings<SimulationVideoContextSettings>.instance
    ScriptableSettingsBase<SimulationVideoContextSettings>.k_HasCustomPath
    ScriptableSettingsBase<SimulationVideoContextSettings>.s_Instance
    ScriptableSettingsBase<SimulationVideoContextSettings>.Save(String)
    ScriptableSettingsBase<SimulationVideoContextSettings>.GetFilePath()
    ScriptableSettingsBase.k_PathExceptionMessage
    ScriptableSettingsBase.GetInstanceByType(Type)
    ScriptableSettingsBase.OnLoaded()
    Namespace: Unity.MARS.Simulation
    Syntax
    [ScriptableSettingsPath("Assets/MARS/UserSettings")]
    public class SimulationVideoContextSettings : ScriptableSettings<SimulationVideoContextSettings>

    Properties

    SimulatedFocalLength

    The focal length, in video texture pixels, to use for video feeds in simulation

    Declaration
    public float SimulatedFocalLength { get; set; }
    Property Value
    Type Description
    Single

    VideoBackgroundScale

    The scaling factor to apply to the video background in simulation

    Declaration
    public float VideoBackgroundScale { get; set; }
    Property Value
    Type Description
    Single
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)