apeCameraController
class. In the "controller" block, we can set its initial position and orientation (horizontal and vertical angle), as well the its linear and angular speed.GEOMETRY_FILE_FILENAME
are fired in ApertusVR, the filename in the entity (which the event's subjectName
refers to) points to a directory which is assumed to be available on Windows, but not on Android. This means that it has a prefix we should throw away from the file path to find the actual file on the android device. We can also set this prefix in the configuration file.GEOMETRY_FILE_FILENAME
event which refers to the Bar.obj file in the Foo folder, the GeometryFile entity will have "../../samples/sampleName/models/Foo/Bar.obj"
in its fileName
member variable. However, we have told the plug-in that it should avoid the prefix, thus it will search for the file: <filesDir>/models/Foo/Bar.obj instead of <filesDir>/../../samples/sampleName/models/Foo/Bar.obj.