Ar Object
data class ArObject(var id: Int = -1, var name: String = "", var location: Location = Location(), var zoom: Zoom = Zoom(), var model: ArModel? = null, var events: ArrayList<ArEvent>? = null, var subEvents: HashMap<String, ArrayList<ArEvent>?>? = null, var transparency: Float = 1.0f, var sceneId: Int? = null, var children: List<ArObject> = emptyList()) : Serializable
One AR object of a scene, as found in the ar_objects array of a scene payload (ArScenes.arObjects).
Wrapped by ArObjectModel, which supplies defaults and builds the scene node.
Constructors
Link copied to clipboard
constructor(id: Int = -1, name: String = "", location: Location = Location(), zoom: Zoom = Zoom(), model: ArModel? = null, events: ArrayList<ArEvent>? = null, subEvents: HashMap<String, ArrayList<ArEvent>?>? = null, transparency: Float = 1.0f, sceneId: Int? = null, children: List<ArObject> = emptyList())