LensSettings.FromCamera Method

Cinemachine

LensSettingsFromCamera Method

Creates a new LensSettings, copying the values from the supplied Camera

Namespace:  Cinemachine
Assembly:  Cinemachine (in Cinemachine.dll) Version: 2.0.0.0 (2.0.0.0)
Syntax
public static LensSettings FromCamera(
	Camera fromCamera
)
Cinemachine.LensSettings.FromCamera = function(fromCamera);

Parameters

fromCamera
Type: Camera
The Camera from which the FoV, near and far clip planes will be copied.

Return Value

Type: LensSettings

[Missing <returns> documentation for "M:Cinemachine.LensSettings.FromCamera(UnityEngine.Camera)"]

See Also