API reference
API reference
Select your platform
No SDKs available
No versions available

IsdkDefaultCursorSystem

IsdkDefaultCursorSystem

class IsdkDefaultCursorSystem(val ctx: <Error class: unknown class>, val isdkSystem: IsdkSystem) : SystemBase

Constructors

NameSummary
IsdkDefaultCursorSystem
constructor(ctx: <Error class: unknown class>, isdkSystem: IsdkSystem)

Types

NameSummary
data class EntityHitInfo(val hitInfo: HitInfo, val isSelecting: Boolean, val isLaserHidden: Boolean, val isHandDevice: Boolean, val laserAlpha: Float, val unifiedCursorAlpha: Float, val sourceOrigin: Pose)
data class MorphCursorAttributes(var finalAlpha: Float, var selectionStrength: Float, var ringAnimationPercent: Float)
data class PerDeviceLaserConfig(val surfaceOffset: Float, val originOffset: Float, val farToNearFadeLength: Float, val nearToFarFadeLength: Float)
data class UnifiedMorphCursorAttributes(var radius: Float, var finalAlpha: Float, var innerAlpha: Float, var blurStrength: Float, var selectionStrength: Float, var actuationStrength: Float, var hoverColor: Float)

Properties

NameSummary
active
var active: Boolean
ctx
val ctx: <Error class: unknown class>
cursorConfigActuatedRatio
var cursorConfigActuatedRatio: Float
cursorConfigDepthScale
var cursorConfigDepthScale: Float
cursorConfigScale
var cursorConfigScale: Float
cursorConfigScaleMultiplier
var cursorConfigScaleMultiplier: Float
cursorConfigZOffset
var cursorConfigZOffset: Float
isdkSystem
val isdkSystem: IsdkSystem
laserConfigColorActuated
var laserConfigColorActuated: Vector3
laserConfigColorNormal
var laserConfigColorNormal: Vector3
laserConfigDefault
laserConfigFadeTime
var laserConfigFadeTime: Float
laserConfigHand
laserConfigMaxLength
val laserConfigMaxLength: Float = 0.25f
laserConfigWidth
var laserConfigWidth: Float
systemManager
lateinit var systemManager: SystemManager

The system manager that this system is associated with.
unifiedCursorConfigHoverStrength
var unifiedCursorConfigHoverStrength: Float
unifiedCursorConfigRadiusLeastPinch
var unifiedCursorConfigRadiusLeastPinch: Float
unifiedCursorConfigRadiusMostPinch
var unifiedCursorConfigRadiusMostPinch: Float
unifiedCursorConfigScale
var unifiedCursorConfigScale: Float

Functions

NameSummary
associateSystemManager
fun associateSystemManager(systemManager: SystemManager)

Associates this system with a system manager, used in the Spatial SDK.
delete
open fun delete(entity: Entity)

System should do any housekeeping based on entity being removed from the scene
destroy
open override fun destroy()

System should clean up any and all resources for shutdown
enableInput
fun enableInput(enabled: Boolean)
equals
open operator override fun equals(other: Any?): Boolean

Checks if this system is equal to another object.
execute
open override fun execute()

System should perform all the operations based on relevant entities.
getDependencies
open fun getDependencies(): SystemDependencies?

Returns the dependencies of this system.
getScene
fun getScene(): Scene

Returns the scene that this system is associated with.
hashCode
open override fun hashCode(): Int

Returns the hash code of this system.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon