Package-level declarations
Sceneform nodes that render the AR objects of a LiG scene. ArBaseNode is the base of every rendered object: it applies the object's transform, loads and caches its assets, wires its events to actions, and handles pinch and rotate gestures. Each subclass renders one AR object type: image planes, 3D models, video and live streams, shapes, snow, dashboards, recommendation boards and polyhedrons. The scene creates them from the scene JSON; integrators usually reach them through SceneFormContext.ligNodeMap to add listeners or control playback. The package also holds helper nodes for navigation (arrow and waypoint markers), debug origin axes and a particle emitter. Ar360BallNode, which renders 360° video, is currently declared without a package and appears in the root package.
Types
Renders a sphere AR object (tw.com.lig.sdk.player.model.ArModelEnum.BALL).
Base class of every Sceneform node that renders an AR object of a LiG scene.
A box node in a solid or translucent color. Not an AR object type: the scene never creates it; it is a helper the host can add itself.
Renders a cylinder AR object (tw.com.lig.sdk.player.model.ArModelEnum.CYLINDER), built from the passed-in AR object data.
Renders a sensor dashboard AR object (tw.com.lig.sdk.player.model.ArModelEnum.DASHBOARD): a view panel showing the latest readings of a farmland from a remote sensor API.
A 2D particle emitter shown in AR: a ParticleSystemView rendered on a view renderable 1 local unit wide, emitting copies of an image upward from the bottom center of the view.
Renders a virtual floor AR object (tw.com.lig.sdk.player.model.ArModelEnum.FLOOR), built from the passed-in AR object data.
Renders a 3D model AR object (tw.com.lig.sdk.player.model.ArModelEnum.MODEL), built from the passed-in AR object data.
Debug model of a coordinate origin: three axis bars from the node's origin, X in red, Y in green and Z in blue, each 0.4 long and 0.05 thick (local units).
Renders an image plane AR object (tw.com.lig.sdk.player.model.ArModelEnum.PLANE), built from the passed-in AR object data.
Renders a sized image AR object (tw.com.lig.sdk.player.model.ArModelEnum.PLANE_WITH_SIZE), built from the passed-in AR object data. Also used for the faces of ArSpherePolyhedronNode and the preview image of ArStreamingVideoNode.
Renders a video-with-preview AR object (tw.com.lig.sdk.player.model.ArModelEnum.PREVIEW_VIDEO), built from the passed-in AR object data. Unlike ArVideoNode, this AR video object comes with its own preview image.
Renders a recommendation board AR object (tw.com.lig.sdk.player.model.ArModelEnum.RECOMMEND_BOARD): a view panel with three slots each for live rooms, related web links and navigation destinations, filled from an AI bot answer.
Animated arrow model used by the indoor navigation feature to point the user along the route.
Renders a snowfall AR object (tw.com.lig.sdk.player.model.ArModelEnum.SNOW): flakes of the object's texture image spawn across an area and drift along the node's local +Z axis.
Renders a polyhedron AR object whose faces are AR objects of their own (tw.com.lig.sdk.player.model.ArModelEnum.NEW_POLYHEDRON2).
Renders a polyhedron AR object (tw.com.lig.sdk.player.model.ArModelEnum.NEW_POLYHEDRON), built from the passed-in AR object data: rings of image panels around the node.
Renders a live-stream AR object (tw.com.lig.sdk.player.model.ArModelEnum.STREAMING_VIDEO): an HLS stream played with ExoPlayer onto a flat plane in the node's XY plane, keeping the video's aspect ratio with its longer side 1 local unit long. When the object has a hueAngle, the same chroma key as ArVideoNode applies (see ChromaKey).
Renders a video AR object (tw.com.lig.sdk.player.model.ArModelEnum.VIDEO), built from the passed-in AR object data.
Base Sceneform node of the player: camera facing, transparency, touch listeners, distance tracking and resource release.
Marker used by the indoor navigation feature for the next waypoint or the final destination.
Debug model of a coordinate origin: three axis bars from the node's origin, X in red, Y in green and Z in blue, each 0.4 long and 0.05 thick (local units).