Buy Me a Coffee at ko-fi.com

Sets the absolute rotation of the camera
The position is not taken into account for roll
Nil values for rotation are assumed to be 0
For relative rotation values, check out the "offset" rot function

overload 1:
RendererAPI.cameraRot(rot: Vector3): RendererAPI
typings.2002444080typings.45746743
Method PropertyFluent DescriptionRepresentation
rot accepts
Return Value
overload 2:
RendererAPI.cameraRot(x: Number, y: Number, z: Number): RendererAPI
typings.-1950496919typings.-1950496919typings.-1950496919typings.45746743
Method PropertyFluent DescriptionRepresentation
x accepts
y accepts
z accepts
Return Value