Reference API Roblox

Engine API

Website

Related

Reference API Roblox

Camera

Summary

This class is not replicated. Its interface does not cross the network boundary.
Tags: [NotReplicated]

Member index 35

HistoryMember
553CFrame: CFrame
553CameraSubject: Instance
553CameraType: CameraType
580DiagonalFieldOfView: float
580FieldOfView: float
553FieldOfViewMode: FieldOfViewMode
553Focus: CFrame
553HeadLocked: bool
553HeadScale: float
580MaxAxisFieldOfView: float
553NearPlaneZ: float
577VRTiltAndRollEnabled: bool
553ViewportSize: Vector2
553focus: CFrame
462GetLargestCutoffDistance(ignoreList: Objects): float
582GetPanSpeed(): float
462GetPartsObscuringTarget(castPoints: Array, ignoreList: Objects): Objects
462GetRenderCFrame(): CFrame
462GetRoll(): float
582GetTiltSpeed(): float
573Interpolate(endPos: CFrame, endFocus: CFrame, duration: float): null
573PanUnits(units: int): null
486ScreenPointToRay(x: float, y: float, depth: float = 0): Ray
598SetCameraPanMode(mode: CameraPanMode = Classic): null
573SetImageServerView(modelCoord: CFrame): null
573SetRoll(rollAngle: float): null
462TiltUnits(units: int): bool
486ViewportPointToRay(x: float, y: float, depth: float = 0): Ray
486WorldToScreenPoint(worldPoint: Vector3): Tuple
486WorldToViewportPoint(worldPoint: Vector3): Tuple
462Zoom(distance: float): bool
573ZoomToExtents(boundingBoxCFrame: CFrame, boundingBoxSize: Vector3): null
462FirstPersonTransition(entering: bool)
462InterpolationFinished()
inherited from Instance
553Archivable: bool
619Capabilities: SecurityCapabilities
553ClassName: string
553Name: string
553Parent: Instance
619Sandboxed: bool
616UniqueId: UniqueId
553className: string
576AddTag(tag: string): null
573ClearAllChildren(): null
462Clone(): Instance
573Destroy(): null
486FindFirstAncestor(name: string): Instance
486FindFirstAncestorOfClass(className: string): Instance
486FindFirstAncestorWhichIsA(className: string): Instance
486FindFirstChild(name: string, recursive: bool = false): Instance
486FindFirstChildOfClass(className: string): Instance
486FindFirstChildWhichIsA(className: string, recursive: bool = false): Instance
486FindFirstDescendant(name: string): Instance
563GetActor(): Actor
486GetAttribute(attribute: string): Variant
462GetAttributeChangedSignal(attribute: string): RBXScriptSignal
486GetAttributes(): Dictionary
486GetChildren(): Objects
462GetDebugId(scopeLength: int = 4): string
486GetDescendants(): Array
486GetFullName(): string
462GetPropertyChangedSignal(property: string): RBXScriptSignal
576GetTags(): Array
576HasTag(tag: string): bool
486IsA(className: string): bool
486IsAncestorOf(descendant: Instance): bool
486IsDescendantOf(ancestor: Instance): bool
580IsPropertyModified(name: string): bool
573Remove(): null
576RemoveTag(tag: string): null
580ResetPropertyToDefault(name: string): null
573SetAttribute(attribute: string, value: Variant): null
462WaitForChild(childName: string, timeOut: double): Instance
553children(): Objects
553clone(): Instance
573destroy(): null
553findFirstChild(name: string, recursive: bool = false): Instance
553getChildren(): Objects
462isA(className: string): bool
553isDescendantOf(ancestor: Instance): bool
573remove(): null
462AncestryChanged(child: Instance, parent: Instance)
462AttributeChanged(attribute: string)
462Changed(property: string)
462ChildAdded(child: Instance)
462ChildRemoved(child: Instance)
462DescendantAdded(descendant: Instance)
462DescendantRemoving(descendant: Instance)
500Destroying()
553childAdded(child: Instance)

Removed member index 1

HistoryMember
118SetCameraInputMode(mode: CameraInputMode = Classic): void

History 141

Members 35

CFrame

TypeDefault
CFrame

History 4

CameraSubject

TypeDefault
Instance

History 5

CameraType

TypeDefault
CameraTypeFixed

History 4

DiagonalFieldOfView

TypeDefault
float88.8765335
This property is not replicated. Its interface does not cross the network boundary.

History 8

Tags: [NotReplicated]

FieldOfView

TypeDefault
float70

History 6

FieldOfViewMode

TypeDefault
FieldOfViewModeVertical

History 4

FirstPersonTransition

Parameters (1)
enteringbool

History 3

Focus

TypeDefault
CFrame

History 4

  • 553 Change Default of Focus from to
  • 486 Change ThreadSafety of Focus from ReadOnly to ReadSafe
  • 462 Change ThreadSafety of Focus from to ReadOnly
  • 47 Add Focus

GetLargestCutoffDistance

Parameters (1)
ignoreListObjects
Returns (1)
float
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 3

Tags: [Deprecated]

GetPanSpeed

Parameters (0)
No parameters.
Returns (1)
float
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 4

Tags: [Deprecated]

GetPartsObscuringTarget

Parameters (2)
castPointsArray
ignoreListObjects
Returns (1)
Objects

History 2

GetRenderCFrame

Parameters (0)
No parameters.
Returns (1)
CFrame

History 2

GetRoll

Parameters (0)
No parameters.
Returns (1)
float

History 2

GetTiltSpeed

Parameters (0)
No parameters.
Returns (1)
float
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 4

Tags: [Deprecated]

HeadLocked

TypeDefault
booltrue

History 4

HeadScale

TypeDefault
float1

History 4

Interpolate

Parameters (3)
endPosCFrame
endFocusCFrame
durationfloat
Returns (1)
null
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 4

Tags: [Deprecated]

InterpolationFinished

Parameters (0)
No parameters.

History 2

MaxAxisFieldOfView

TypeDefault
float70
This property is not replicated. Its interface does not cross the network boundary.

History 8

Tags: [NotReplicated]

NearPlaneZ

TypeDefault
float-0.5
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.

History 4

Tags: [ReadOnly, NotReplicated]

PanUnits

Parameters (1)
unitsint
Returns (1)
null
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 5

Tags: [Deprecated]

ScreenPointToRay

Parameters (3)Default
xfloat
yfloat
depthfloat0
Returns (1)
Ray

History 5

SetCameraPanMode

Parameters (1)Default
modeCameraPanModeClassic
Returns (1)
null
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 4

Tags: [Deprecated]

SetImageServerView

Parameters (1)
modelCoordCFrame
Returns (1)
null

History 3

SetRoll

Parameters (1)
rollAnglefloat
Returns (1)
null

History 3

TiltUnits

Parameters (1)
unitsint
Returns (1)
bool
This function is deprecated. It exists only for backward compatibility, and should not be used for new work.

History 4

Tags: [Deprecated]

VRTiltAndRollEnabled

TypeDefault
boolfalse

History 1

ViewportPointToRay

Parameters (3)Default
xfloat
yfloat
depthfloat0
Returns (1)
Ray

History 3

ViewportSize

TypeDefault
Vector21, 1
This property is not replicated. Its interface does not cross the network boundary.
This property is read-only. Its value can be read, but it cannot be modified.

History 6

Tags: [ReadOnly, NotReplicated]

WorldToScreenPoint

Parameters (1)
worldPointVector3
Returns (1)
Tuple

History 5

WorldToViewportPoint

Parameters (1)
worldPointVector3
Returns (1)
Tuple

History 3

Zoom

Parameters (1)
distancefloat
Returns (1)
bool

History 2

ZoomToExtents

Parameters (2)
boundingBoxCFrameCFrame
boundingBoxSizeVector3
Returns (1)
null

History 2

focus

TypeDefault
CFrame
This property is deprecated. It exists only for backward compatibility, and should not be used for new work. Focus should be used instead.
This property is not replicated. Its interface does not cross the network boundary.

History 5

  • 553 Change PreferredDescriptor of focus from to Focus
  • 553 Change Default of focus from to
  • 486 Change ThreadSafety of focus from ReadOnly to ReadSafe
  • 462 Change ThreadSafety of focus from to ReadOnly
  • 57 Add focus
Tags: [NotReplicated, Deprecated]

Removed members 1

SetCameraInputMode

Parameters (1)Default
modeCameraInputModeClassic
Returns (1)
void

History 2

Settings