View on GitHub

SpheroidScript

//Spheroid Script/spheroid.client.ar/ModelNode

ModelNode

class ModelNode : Node

Functions

Name Summary
getAnimationController fun getAnimationController(name: String): AnimationController
fun getAnimationController(animation: Animation): AnimationController
getAudioController fun getAudioController(audio: SceneAudio): SceneAudioController
onTap fun onTap(callback: () -> Unit)
playAnimation fun playAnimation(name: String, loop: Boolean): AnimationController
fun playAnimation(animation: Animation, loop: Boolean): AnimationController
playAudio fun playAudio(audio: SceneAudio, loop: Boolean): SceneAudioController
toString fun toString(): String

Properties

Name Summary
children val children: NodeCollection
eulerAngles var eulerAngles: Vector3
location var location: LatLng?
model var model: Model?
position var position: Vector3
rotation var rotation: Quaternion
scale var scale: Vector3
worldPosition var worldPosition: Vector3