CameraPathList

Summary

The list of Camera Paths in the scene. (You don't instantiate this yourself. Access this via Sketch.cameraPaths)

Instance Properties

NameReturn TypeDescription

last

CameraPath Read-only

Returns the last Camera Path

this[index]

CameraPath Read-only

Gets a Camera Path by it's index

count

number Read-only

The number of Camera Paths

active

CameraPath Read/Write

The active Camera Path

Instance Methods

cameraPathList:ShowAll()

Makes all Camera Paths visible

Returns: nil

Example

Sketch.cameraPaths:ShowAll()

cameraPathList:HideAll()

Hides all Camera Paths

Returns: nil

Example

Sketch:cameraPaths:HideAll()

cameraPathList:PreviewActivePath(active)

Sets whether to preview the active path or not

Returns: nil

Parameters:

NameTypeDefaultDescription

active

boolean

A boolean value indicating whether to preview the active path or not

Example

Sketch.cameraPaths:PreviewActivePath(true)

Last updated