androidx.xr.scenecore
Annotations
ExperimentalCustomMeshApi |
Marks the CustomMesh and related APIs as experimental. |
ExperimentalSurfaceEntityPixelDimensionsApi |
Marks the SurfaceEntity.getPixelDimensions() method as experimental. |
Interfaces
Entity |
Interface for a spatial Entity. |
EntityMoveListener |
Listener for move actions. |
Material |
Represents a |
ScenePose |
A |
SoundEffectPlayer |
Provides playback control for instances of |
SoundEffectPool.LoadCompleteListener |
Callback interface for receiving notification when a sound effect has finished loading. |
SpatializerConstants |
Constants for spatialized audio. |
SurfaceEntity.Shape |
Represents the shape of the Canvas that backs a SurfaceEntity. |
Classes
ActivityPanelEntity |
ActivityPanelEntity creates a spatial panel for embedding an |
ActivitySpace |
ActivitySpace is an |
AlphaMode |
Defines the constants for a |
AnchorEntity |
An AnchorEntity tracks a |
AnchorEntity.State |
|
AnchorPlacement |
AnchorPlacement for setting how an |
BaseEntity |
The BaseEntity is an implementation of Entity interface that wraps a platform entity. |
BaseScenePose |
The BaseScenePose implements the |
BoundsComponent |
A component that monitors the bounds of an entity and notifies registered listeners of changes. |
ByteBufferRegion |
A container holding a reference to a |
Component |
A Component adds functionality or behaviors to an |
CustomMesh |
An immutable resource that defines the structure of a renderable mesh. |
CustomMesh.FromMeshBufferBuilder |
Builder for |
CustomMesh.FromMeshDataBuilder |
Builder for |
ExrImage |
Represents an EXR image in SceneCore. |
GltfAnimation |
|
GltfAnimation.AnimationState |
Specifies the current animation state of this |
GltfAnimationStartOptions |
Animation options for starting a |
GltfModel |
GltfModel represents a glTF resource in SceneCore. |
GltfModelEntity |
GltfModelEntity is a concrete implementation of Entity that hosts a glTF model. |
GltfModelNode |
|
GroupEntity |
An |
HitTestResult |
Specifies an intersection between a ray and the Scene. |
InputEvent |
Defines input events for SceneCore. |
InputEvent.Action |
Specifies the action (e.g. down, up, move, etc.) of the input event. |
InputEvent.HitInfo |
Information about the hit result of the input ray, originating from one of the |
InputEvent.Pointer |
Specifies the pointer type (e.g. left, right or default) of the input event. |
InputEvent.Source |
Specifies the source (e.g. hands, controller, head) of the input event. |
InteractableComponent |
Provides access to raw |
KhronosPbrMaterial |
Represents a lit PBR (Physically-Based Rendering) material, which defines the visual appearance of a surface by simulating its interaction with light. |
KhronosUnlitMaterial |
Represents an unlit material, which is not affected by scene lighting. |
LaunchUtils |
|
MainPanelEntity |
Represents the main spatialized panel in a |
MeshBuffer |
A container holding raw vertex and index data for custom meshes. |
MeshEntity |
A renderable entity in the scene graph that renders a |
MeshSubset |
Defines a subset of the mesh to draw. |
MeshSubsetTopology |
Defines the topology of the indices in a |
MovableComponent |
This |
PanelClippingConfig |
Defines the clipping configuration for all panels within the |
PanelEntity |
PanelEntity contains an arbitrary 2D Android |
PerceivedResolutionResult |
Represents the outcome of an attempt to calculate the perceived resolution of an entity. |
PerceivedResolutionResult.EntityTooClose |
Indicates that the perceived resolution could not be calculated because the entity is too close to the camera. |
PerceivedResolutionResult.InvalidRenderViewpoint |
Indicates that the perceived resolution could not be calculated because the required camera view information was invalid or insufficient for the calculation. |
PerceivedResolutionResult.Success |
Indicates that the perceived resolution was successfully calculated. |
PerceptionSpace |
PerceptionSpace is an |
PlaneOrientation |
Orientation of a plane, to specify valid surfaces for anchoring. |
PlaneSemanticType |
The detected semantic type of a plane, to specify valid surfaces for anchoring. |
PointSourceParams |
Configures a sound source to be spatialized at a 3D location. |
PointerCaptureComponent |
Provides pointer capture capabilities for a given |
PointerCaptureComponent.PointerCaptureState |
Defines the possible states of a |
PositionalAudioComponent |
A Component that provides positional spatial audio playback for an |
ResizableComponent |
This |
ResizeEvent |
A resize event which is sent in response to the User interacting with the |
ResizeEvent.ResizeState |
|
Scene |
Scene is the primary interface to SceneCore functionality for the application. |
SessionExt |
|
SoundEffect |
Represents a handle to a single sound effect loaded into memory. |
SoundEffectPool |
Manages the loading and unloading of sound assets into memory. |
SoundEffectPoolComponent |
Provides positional sound pool audio playback for an |
SoundFieldAttributes |
Configures a sound source to be played as an ambisonics sound field. |
SoundFieldAudioComponent |
Provides spatial audio playback for a sound field associated with an |
Space |
Coordinate spaces in which to apply transformation values. |
SpatialCapability |
Constants representing the spatial capabilities of a |
SpatialEnvironment |
The SpatialEnvironment is used to manage the XR background and passthrough. |
SpatialEnvironment.SpatialEnvironmentPreference |
Represents the preferred spatial environment for the application. |
SpatialModeChangeEvent |
An event that is dispatched when the spatial mode for the scene has changed. |
SpatialPointerComponent |
|
SpatialPointerIcon |
Specifies the icon that is rendered at the pointer's location on entities in the spatialized scene. |
SpatialVisibility |
Spatial Visibility states of content within the user's field of view. |
SpatializerConstants.AmbisonicsOrder |
Specifies the Ambisonics order of a |
SpatializerConstants.SourceType |
Represents the type of spatialization for an audio source. |
Stream |
Represents the handle of a |
SurfaceEntity |
SurfaceEntity is an |
SurfaceEntity.EdgeFeatheringParams |
Represents edge fading effects for a SurfaceEntity. |
SurfaceEntity.EdgeFeatheringParams.NoFeathering |
Applies no edge fading to any canvas. |
SurfaceEntity.EdgeFeatheringParams.RectangleFeather |
|
SurfaceEntity.Shape.Hemisphere |
An inwards-facing hemisphere-shaped canvas, where (0,0,0) is the center of the base of the hemisphere. |
SurfaceEntity.Shape.Quad |
A Quadrilateral-shaped canvas. |
SurfaceEntity.Shape.Sphere |
cal An inwards-facing sphere-shaped mesh, centered at (0,0,0) in the local coordinate space. |
SurfaceEntity.StereoMode |
Specifies how the surface content will be routed for stereo viewing. |
SurfaceEntity.SuperSampling |
Specifies whether super sampling should be enabled for this surface. |
SurfaceEntity.SurfaceProtection |
Specifies whether the |
Texture |
Represents a |
TextureSampler |
Defines the sampling behavior for a texture. |
TextureSampler.MagnificationFilter |
Defines the constants for texture magnification filters. |
TextureSampler.MinificationFilter |
Defines the constants for texture minification filters. |
TextureSampler.WrapMode |
Defines the constants for texture wrap modes. |
VertexAttribute |
Defines the attribute of a vertex. |
VertexAttributeDescriptor |
Descriptor for a single vertex attribute. |
VertexAttributeType |
Defines the type of data for a vertex attribute. |
VertexLayout |
Layout of a vertex, composed of multiple attribute descriptors. |
HitTestResult.SurfaceType |
|
ScenePose.HitTestFilter |
A filter for which Scenes to hit test with |
SpatialAudioTrack |
Provides spatial audio extensions on the framework |
SpatialAudioTrackBuilder |
Provides spatial audio extensions on the platform |
SpatialMediaPlayer |
Provides spatial audio extensions on the framework |
SpatialSoundPool |
Provides spatial audio extensions on the framework |
SpatialWindow |
Methods used to manage the |