UnityLink`
UnityLink`

UnityCamera

UnityCamera [...]

represents a Unity camera.

Details

  • UnityCamera[...] is a object that represents an existing Camera object in the Unity game engine.
  • UnityCamera[...] is typically generated by functions such as CreateUnityCamera.
  • UnityCamera[["Properties"]] gives a list of possible properties.
  • The value associated with a given property "prop" can be extracted using UnityCamera[...][["prop"]].
  • You can make an assignment like UnityCamera[...][["prop"]]=value to modify a property of the object.

Examples

open all close all

Basic Examples  (1)

Load the package and open a project:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input

Create a Unity camera:

In[3]:=
Click for copyable input
Out[3]=

Get properties:

In[4]:=
Click for copyable input
Out[4]=

Delete the Unity camera:

In[5]:=
Click for copyable input

Properties & Relations  (4)