Camera
Inherits PVInstance → Instance.
Made with Instance.new("Camera").
Properties
| Name | Type | Notes |
|---|---|---|
CameraSubject | PVInstance? | Not saved in places. |
CameraType | EnumCameraType | Not saved in places. |
FieldOfView | number | |
FocusOffset | Vector3 | Not saved in places. |
MaxZoomDistance | number | Not saved in places. |
MinZoomDistance | number | Not saved in places. |
Transform | Transform | |
ViewportSize | Vector2 | Read-only. |
Zoom | number | Read-only. Not saved in places. |
Methods
ScreenPointToRay(x: number, y: number, depth: number?): RayViewportPointToRay(x: number, y: number, depth: number?): RayWorldToScreenPoint(worldPoint: Vector3): (Vector3, boolean)WorldToViewportPoint(worldPoint: Vector3): (Vector3, boolean)
Inherited
From PVInstance: GetPivot, PivotTo.
From Instance: AddTag, AncestryChanged, Archivable, AttributeChanged, Changed, ChildAdded, ChildRemoved, ClassName, ClearAllChildren, Clone, DescendantAdded, DescendantRemoving, Destroy, Destroying, FindFirstAncestor, FindFirstAncestorOfClass, FindFirstAncestorWhichIsA, FindFirstChild, FindFirstChildOfClass, FindFirstChildWhichIsA, GetAttribute, GetAttributeChangedSignal, GetAttributes, GetChildren, GetDescendants, GetFullName, GetPropertyChangedSignal, GetTags, HasTag, IsA, IsAncestorOf, IsDescendantOf, IsPropertyModified, Name, Parent, QueryDescendants, RemoveTag, ResetPropertyToDefault, SetAttribute, WaitForChild.