docs.unity3d.com
    Show / Hide Table of Contents

    Class FreeFlyCameraSettings

    Provides setting values for a FreeFlyCamera.

    Inheritance
    Object
    UnityEngine.Object
    UnityEngine.ScriptableObject
    FreeFlyCameraSettings
    Inherited Members
    UnityEngine.ScriptableObject.SetDirty()
    UnityEngine.ScriptableObject.CreateInstance(System.String)
    UnityEngine.ScriptableObject.CreateInstance(System.Type)
    UnityEngine.ScriptableObject.CreateInstance<T>()
    UnityEngine.Object.GetInstanceID()
    UnityEngine.Object.GetHashCode()
    UnityEngine.Object.Equals(System.Object)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
    UnityEngine.Object.Instantiate(UnityEngine.Object)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform)
    UnityEngine.Object.Instantiate(UnityEngine.Object, UnityEngine.Transform, System.Boolean)
    UnityEngine.Object.Instantiate<T>(T)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Vector3, UnityEngine.Quaternion, UnityEngine.Transform)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform)
    UnityEngine.Object.Instantiate<T>(T, UnityEngine.Transform, System.Boolean)
    UnityEngine.Object.Destroy(UnityEngine.Object, System.Single)
    UnityEngine.Object.Destroy(UnityEngine.Object)
    UnityEngine.Object.DestroyImmediate(UnityEngine.Object, System.Boolean)
    UnityEngine.Object.DestroyImmediate(UnityEngine.Object)
    UnityEngine.Object.FindObjectsOfType(System.Type)
    UnityEngine.Object.FindObjectsOfType(System.Type, System.Boolean)
    UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectsByType(System.Type, UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.DontDestroyOnLoad(UnityEngine.Object)
    UnityEngine.Object.DestroyObject(UnityEngine.Object, System.Single)
    UnityEngine.Object.DestroyObject(UnityEngine.Object)
    UnityEngine.Object.FindSceneObjectsOfType(System.Type)
    UnityEngine.Object.FindObjectsOfTypeIncludingAssets(System.Type)
    UnityEngine.Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    UnityEngine.Object.FindObjectsByType<T>(UnityEngine.FindObjectsInactive, UnityEngine.FindObjectsSortMode)
    UnityEngine.Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    UnityEngine.Object.FindFirstObjectByType<T>()
    UnityEngine.Object.FindAnyObjectByType<T>()
    UnityEngine.Object.FindFirstObjectByType<T>(UnityEngine.FindObjectsInactive)
    UnityEngine.Object.FindAnyObjectByType<T>(UnityEngine.FindObjectsInactive)
    UnityEngine.Object.FindObjectsOfTypeAll(System.Type)
    UnityEngine.Object.FindObjectOfType(System.Type)
    UnityEngine.Object.FindFirstObjectByType(System.Type)
    UnityEngine.Object.FindAnyObjectByType(System.Type)
    UnityEngine.Object.FindObjectOfType(System.Type, System.Boolean)
    UnityEngine.Object.FindFirstObjectByType(System.Type, UnityEngine.FindObjectsInactive)
    UnityEngine.Object.FindAnyObjectByType(System.Type, UnityEngine.FindObjectsInactive)
    UnityEngine.Object.ToString()
    UnityEngine.Object.name
    UnityEngine.Object.hideFlags
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Unity.Cloud.Metadata.Samples.ObjectPicking
    Syntax
    [CreateAssetMenu(fileName = "FreeFlyCameraSettings", menuName = "ScriptableObjects/FreeFlyCameraSettings")]
    public class FreeFlyCameraSettings : ScriptableObject

    Fields

    accelerationScaling

    Declaration
    [Tooltip("Scaling on camera acceleration")]
    public float accelerationScaling
    Field Value
    Type Description
    Single

    initialLookAt

    Declaration
    [Header("Look At")]
    [Tooltip("The position at which the camera will look at when loading a project")]
    public Vector3 initialLookAt
    Field Value
    Type Description
    UnityEngine.Vector3

    maxLookAtDistanceScaling

    Declaration
    [Tooltip("The maximum distance at which the camera can go from the scene")]
    public float maxLookAtDistanceScaling
    Field Value
    Type Description
    Single

    maxPitchAngle

    Declaration
    [Tooltip("The maximum angle in degree on the pitch axis (looking up/down)")]
    public float maxPitchAngle
    Field Value
    Type Description
    Single

    maxSpeedScaling

    Declaration
    [Tooltip("Scaling on camera maximum speed")]
    public float maxSpeedScaling
    Field Value
    Type Description
    Single

    maxTimeToAccelerate

    Declaration
    [Tooltip("The maximum time in seconds for the camera to accelerate from minimum to maximum speed")]
    public float maxTimeToAccelerate
    Field Value
    Type Description
    Single

    maxTimeToTravelFullSpeed

    Declaration
    [Tooltip("The maximum time in seconds to travel the entire scene when the camera is at the maximum speed")]
    public float maxTimeToTravelFullSpeed
    Field Value
    Type Description
    Single

    maxTimeToTravelMinSpeed

    Declaration
    [Header("Movement Speed")]
    [Tooltip("The maximum time in seconds to travel the entire scene when the camera is at the minimum speed")]
    public float maxTimeToTravelMinSpeed
    Field Value
    Type Description
    Single

    minDistanceFromLookAt

    Declaration
    [Header("Constraints")]
    [Tooltip("The distance at which the look at point will start to move with the camera when zooming")]
    public float minDistanceFromLookAt
    Field Value
    Type Description
    Single

    minSpeedScaling

    Declaration
    [Tooltip("Scaling on camera minimum speed")]
    public float minSpeedScaling
    Field Value
    Type Description
    Single

    moveOnAxisScaling

    Declaration
    [Tooltip("Linear scaling over default 'zoom' movement speed")]
    public float moveOnAxisScaling
    Field Value
    Type Description
    Single

    panScaling

    Declaration
    [Header("Others")]
    [Tooltip("Linear scaling over default pan (camera drag) movement speed")]
    public float panScaling
    Field Value
    Type Description
    Single

    positionElasticity

    Declaration
    [Header("Camera Elasticity")]
    [Range(0.001F, 1F)]
    [Tooltip("The linear interpolation factor in second between where the camera is and where it should be")]
    public float positionElasticity
    Field Value
    Type Description
    Single

    rotationElasticity

    Declaration
    [Range(0.001F, 1F)]
    [Tooltip("The linear interpolation factor in second between where the camera is looking at and where it should be looking at.")]
    public float rotationElasticity
    Field Value
    Type Description
    Single

    waitingDecelerationScaling

    Declaration
    [Tooltip("Higher value means the camera will go back faster to minimum speed when not moving")]
    public float waitingDecelerationScaling
    Field Value
    Type Description
    Single
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023