Constructor that clones an existing camera_body. Useful for writing camera modifiers as it makes it easier to create a camera_body that is a copy of another with some values modified.
Verse using statement |
using { /Verse.org/SceneGraph } |
CloneCameraBody<public><constructor>(CameraBody:camera_body)<computes><dictates>:camera_body
Parameters
CloneCameraBody takes the following parameters:
| Name | Type | Description |
|---|---|---|
CameraBody |
camera_body |
Attributes, Specifiers, and Effects
Attributes
The following attributes determine how CloneCameraBody behaves outside the Verse language. For the complete list of attributes, see the Attributes section of the Specifiers Page.
| Attribute | Arguments | Meaning |
|---|---|---|
available |
MinUploadedAtFNVersion := 4110 |
|
experimental |
This feature is in an experimental state, and you cannot publish projects implmenting it. The API for this feature is subject to change and backward compatibility is not guaranteed. |
Specifiers
The following specifiers determine how you can interact with CloneCameraBody in your programs. For the complete list of specifiers, see the Specifiers Page.
| Specifier | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |
constructor |
Indicates that the function creates an instance of the class that it's associated with. |
Effects
The following effects determine how CloneCameraBody behaves in your programs. For the complete list of effects, see the Effect Specifers section of the Specifiers Page.
| Effect | Meaning |
|---|---|
computes |
This effect requires that the function has no side effects, and is not guaranteed to complete. There’s an unchecked requirement that the function, when provided with the same arguments, produces the same result. Any function that doesn’t have the native specifier that would otherwise have the converges effect is a good example of using the computes effect. |
dictates |