lumin

lumin

Classes

AnimationBlendSetupEvent
AnimationBlendSetupEventType
AnimationEvent
AnimationEventBase
AnimationEventCustom
AnimationEventType
AudioBufferFormat
AudioEvent
AudioNode
BaseApp
BodyDynamicType
ControlPose3DofInputEventData
ControlPose6DofInputEventData
ControlTouchPadInputEventData
CursorHoverState
Desc2d
DeviceGestureFlags
DispatchResult
EyeTrackingEventData
FileInfo
FileResource
Font2dResource
FontResource
GestureInputEventData
HandGestureFlags
HapticInfo
ImmersiveApp
InitArg
InputEventData
KEmpty
KeyInputEventData
LandscapeApp
LedArcPattern
LedInbuiltPattern
LightNode
LineNode
MediaFormat
MediaTrackType
ModelAttachmentNode
ModelNode
ModelResource
Node
Notification
ParticleEventData
ParticleNode
PhysicsEventData
PhysicsInitializationData
PhysicsMaterial
PhysicsRigidBody
PhysicsShape
PlanarResource
PlanecastFlags
Prism
PrismController
PrismDataHandle
PrismType
PrivilegeEvent
PrivilegeId
PrivilegeResult
QuadNode
RayCastEventData
RayCastEventType
RaycastModelNodeResult
RaycastModelNodeSphereResult
RaycastNodeResult
RaycastQuadNodeResult
RaycastResult
RaycastResultType
RenderNode
Resource
ResourceEvent
ResourceType
RootNode
ScaleModeType
SelectionEventData
SelectionEventType
ServerEvent
ServerEventType
Sound
SpatialSoundDistanceProperties
SpatialSoundRadiationProperties
SpatialSoundSendLevels
SpriteAnimationEventData
SpriteAnimationEventType
SpriteEvent
SpriteNode
SystemEventData
SystemEventType
Text2dDesc
Text2dNode
TexturePackResource
TextureResource
TimeModType
TransformAnimationEventData
TransformNode
VibeHapticPattern
VideoEventData
VideoEventType
VideoNode
VideoSubtitleEventData
VideoTimedTextEventData
ViewMode
WorldImageTrackingEventData
WorldMeshBlockEventData
WorldPlaneCastEventData
WorldPlaneCastResult
WorldRayCastEventData
WorldRayCastResult

Namespaces

animation
color
densemesh
files
glyph
haptics
headtracking
input
math
multipack
particles
physics
render
resources
text
ui
utils

Members

(static, constant) EMPTY_STRING :string

Type:
  • string

(static, constant) FPS_DELTA :number

Type:
  • number

(static, constant) INVALID_AUDIO_ID :number

Type:
  • number

(static, constant) INVALID_NODE_ID :number

Type:
  • number

(static, constant) INVALID_PHYSICS_ID :number

Type:
  • number

(static, constant) INVALID_PRISM_ID :number

Type:
  • number

(static, constant) INVALID_RESOURCE_ID :number

Type:
  • number

(static, constant) INVALID_SESSION_ID :number

Type:
  • number

(static, constant) kMaxAudioChannels :number

Type:
  • number

(static, constant) MAT4_IDENTITY :mat4

Type:
  • mat4

(static, constant) MAX_CLIENT_FPS :number

Type:
  • number

(static, constant) QUAT_IDENTITY :quat

Type:
  • quat

(static, constant) VEC2_ONE :vec2

Type:
  • vec2

(static, constant) VEC2_ZERO :vec2

Type:
  • vec2

(static, constant) VEC3_FORWARD :vec3

Type:
  • vec3

(static, constant) VEC3_ONE :vec3

Type:
  • vec3

(static, constant) VEC3_RIGHT :vec3

Type:
  • vec3

(static, constant) VEC3_UP :vec3

Type:
  • vec3

(static, constant) VEC3_ZERO :vec3

Type:
  • vec3

(static, constant) VEC4_ONE :vec4

Type:
  • vec4

(static, constant) VEC4_ZERO :vec4

Type:
  • vec4

Methods

(static) ToString(size) → {string}

Convert to a string representation.

Parameters:
Name Type Description
size lumin.glyph.TextureSize
Returns:
Type
string

(static) ToString(quality) → {string}

kStd |-> "std", kEnh1 -> "enh1"

Parameters:
Name Type Description
quality lumin.glyph.Quality
Returns:
Type
string

(static) ToString(vector) → {string}

Parameters:
Name Type Description
vector vec2
Returns:
Type
string

(static) TryOpenApplication(uri) → {lumin.DispatchResult}

Try to open an application that can handle the given URI.

The user will be presented with a dialog to choose from all applications
that registered a matching URI schema in their manifest.

Parameters:
Name Type Description
uri string

The URI to open with a supported application

Returns:

DispatchResult::kOk or a DispatchResult error code

Type
lumin.DispatchResult

(static) TryOpenApplication(fileInfoList) → {lumin.DispatchResult}

Try to open an application that supports the given mime type or file extension.

The user will be presented with a dialog to choose from all applications
that registered a matching mime type in their manifest. If multiple files
are provided in the list, the mime type and extension will be checked on
the last one.

The mime type will be checked first. If it is not provided, the file extension
specified in the file name will be used.

Parameters:
Name Type Description
fileInfoList Array.<lumin.FileInfo>

list of FileInfo objects to pass along to the app.
The mime-type or file extension (if mime-type is not provided) will be
used to find supported applications.

Returns:

DispatchResult::kOk or a DispatchResult error code

Type
lumin.DispatchResult