Skip to reading
PCA Script Programming

Designer: Cameras

Edition 0.86.4.1 HF1

0.86.4.1 Hotfix 1 edition. Earlier lessons and screenshots retain their original version context; revised references and supplements describe the newer behavior.

Download PDFView PDF page

Earlier edition reference / Current 0.86.4.0 property paths > p. 329

Cameras are nested in rooms. Give camera IDs project-wide unique names when direct lookup would otherwise be ambiguous. Activate/blend through dedicated actions; use property writes for supported configuration.

Reference shape: cameras.wide.property_path.

The example ID is illustrative. Choose an existing record in your own project; direct camera, spawn and objective lookups must be unambiguous.

Source table from Designer: Cameras, page 261
Property pathType / accessPurpose and limits
idtext R / DefinitionStable camera ID within its room.
nametext W / DefinitionCamera display/editor name.
typetext W / DefinitionPerspective or orthographic camera type.
positionvector3 W / DefinitionAuthored camera position. This is not live-applied to the active runtime camera.
targetvector3 W / DefinitionAuthored camera look-at target. This is not live-applied to the active runtime camera.
fovnumber W / DefinitionPerspective vertical field of view.
nearnumber W / DefinitionNear clipping distance.
farnumber W / DefinitionFar clipping distance.
sizenumber W / DefinitionOrthographic camera size.
enabledboolean W / DefinitionWhether this camera record is enabled.
visibleboolean W / DefinitionEditor visibility.
lockedboolean W / DefinitionWhether editor manipulation is locked.
foldertext W / DefinitionEditor organization folder.
depthOfFielddictionary W / Definition / ContainerCamera depth-of-field settings.
dynamicFollowdictionary W / Definition / ContainerDynamic-camera follow settings.
Page 261 of 357Permalink
Go to page