CameraAttributesPhysical

package
v0.0.0-...-5fa07e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package CameraAttributesPhysical provides methods for working with CameraAttributesPhysical object instances.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Advanced

type Advanced = class

Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.

type Any

type Any interface {
	gd.IsClass
	AsCameraAttributesPhysical() Instance
}

type Instance

[CameraAttributesPhysical] is used to set rendering settings based on a physically-based camera's settings. It is responsible for exposure, auto-exposure, and depth of field. When used in a [WorldEnvironment] it provides default settings for exposure, auto-exposure, and depth of field that will be used by all cameras without their own [CameraAttributes], including the editor camera. When used in a [Camera3D] it will override any [CameraAttributes] set in the [WorldEnvironment] and will override the [Camera3D]s [member Camera3D.far], [member Camera3D.near], [member Camera3D.fov], and [member Camera3D.keep_aspect] properties. When used in [VoxelGI] or [LightmapGI], only the exposure settings will be used. The default settings are intended for use in an outdoor environment, tips for settings for use in an indoor environment can be found in each setting's documentation. [b]Note:[/b] Depth of field blur is only supported in the Forward+ and Mobile rendering methods, not Compatibility.

var Nil Instance

Nil is a nil/null instance of the class. Equivalent to the zero value.

func New

func New() Instance

func (Instance) AsCameraAttributes

func (self Instance) AsCameraAttributes() CameraAttributes.Instance

func (Instance) AsCameraAttributesPhysical

func (self Instance) AsCameraAttributesPhysical() Instance

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsRefCounted

func (self Instance) AsRefCounted() [1]gd.RefCounted

func (Instance) AsResource

func (self Instance) AsResource() Resource.Instance

func (Instance) AutoExposureMaxExposureValue

func (self Instance) AutoExposureMaxExposureValue() Float.X

func (Instance) AutoExposureMinExposureValue

func (self Instance) AutoExposureMinExposureValue() Float.X

func (Instance) ExposureAperture

func (self Instance) ExposureAperture() Float.X

func (Instance) ExposureShutterSpeed

func (self Instance) ExposureShutterSpeed() Float.X

func (Instance) FrustumFar

func (self Instance) FrustumFar() Float.X

func (Instance) FrustumFocalLength

func (self Instance) FrustumFocalLength() Float.X

func (Instance) FrustumFocusDistance

func (self Instance) FrustumFocusDistance() Float.X

func (Instance) FrustumNear

func (self Instance) FrustumNear() Float.X

func (Instance) GetFov

func (self Instance) GetFov() Float.X

Returns the vertical field of view that corresponds to the [member frustum_focal_length]. This value is calculated internally whenever [member frustum_focal_length] is changed.

func (Instance) SetAutoExposureMaxExposureValue

func (self Instance) SetAutoExposureMaxExposureValue(value Float.X)

func (Instance) SetAutoExposureMinExposureValue

func (self Instance) SetAutoExposureMinExposureValue(value Float.X)

func (Instance) SetExposureAperture

func (self Instance) SetExposureAperture(value Float.X)

func (Instance) SetExposureShutterSpeed

func (self Instance) SetExposureShutterSpeed(value Float.X)

func (Instance) SetFrustumFar

func (self Instance) SetFrustumFar(value Float.X)

func (Instance) SetFrustumFocalLength

func (self Instance) SetFrustumFocalLength(value Float.X)

func (Instance) SetFrustumFocusDistance

func (self Instance) SetFrustumFocusDistance(value Float.X)

func (Instance) SetFrustumNear

func (self Instance) SetFrustumNear(value Float.X)

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL