Click or drag to resize

CameraSetFrustum Method

Sets the camera projection to frustum mode (see ), by specifying a size, an offset, and the z_near and z_far clip planes in world-space units.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public void SetFrustum(
	float size,
	Vector2 offset,
	float zNear,
	float zFar
)

Parameters

size
Type: SystemSingle

[Missing <param name="size"/> documentation for "M:Godot.Camera.SetFrustum(System.Single,Godot.Vector2,System.Single,System.Single)"]

offset
Type: GodotVector2

[Missing <param name="offset"/> documentation for "M:Godot.Camera.SetFrustum(System.Single,Godot.Vector2,System.Single,System.Single)"]

zNear
Type: SystemSingle

[Missing <param name="zNear"/> documentation for "M:Godot.Camera.SetFrustum(System.Single,Godot.Vector2,System.Single,System.Single)"]

zFar
Type: SystemSingle

[Missing <param name="zFar"/> documentation for "M:Godot.Camera.SetFrustum(System.Single,Godot.Vector2,System.Single,System.Single)"]

See Also