JxrPlatformAdapter.ActivityPose


public interface JxrPlatformAdapter.ActivityPose

Known direct subclasses
JxrPlatformAdapter.CameraViewActivityPose

Interface for a SceneCore camera view ActivityPose.

JxrPlatformAdapter.Entity

Interface for a SceneCore Entity

JxrPlatformAdapter.HeadActivityPose

Interface for a SceneCore head ActivityPose.

JxrPlatformAdapter.PerceptionSpaceActivityPose

Interface for the perception space ActivityPose.

Known indirect subclasses
JxrPlatformAdapter.ActivityPanelEntity

Interface for a SceneCore ActivityPanel entity.

JxrPlatformAdapter.ActivitySpace

Interface for a SceneCore activity space.

JxrPlatformAdapter.AnchorEntity

Interface for Anchor entity.

JxrPlatformAdapter.GltfEntity

Interface for a SceneCore [GltfEntity].

JxrPlatformAdapter.LoggingEntity

Interface for a SceneCore Entity that only logs the pose.

JxrPlatformAdapter.PanelEntity

Interface for a SceneCore Panel entity

JxrPlatformAdapter.StereoSurfaceEntity

Interface for a surface which images can be rendered into.

JxrPlatformAdapter.SystemSpaceEntity

Interface for a system-controlled SceneCore Entity that defines its own coordinate space.


Interface for a SceneCore ActivityPose

Summary

Public methods

abstract @NonNull Pose

Returns the pose for this entity, relative to the activity space root.

abstract @NonNull Vector3

Returns the scale of this WorldPose relative to the activity space.

abstract @NonNull Vector3

Returns the scale of this ActivityPose.

abstract @NonNull Pose

Returns a pose relative to this entity transformed into a pose relative to the destination.

Public methods

getActivitySpacePose

Added in 1.0.0-alpha01
abstract @NonNull Pose getActivitySpacePose()

Returns the pose for this entity, relative to the activity space root.

getActivitySpaceScale

Added in 1.0.0-alpha01
abstract @NonNull Vector3 getActivitySpaceScale()

Returns the scale of this WorldPose relative to the activity space. This returns the accumulated scale which includes the parent's scale, but does not include the scale of the activity space itself.

Returns
@NonNull Vector3

Total [Vector3] scale applied to self and children relative to the activity space.

getWorldSpaceScale

Added in 1.0.0-alpha01
abstract @NonNull Vector3 getWorldSpaceScale()

Returns the scale of this ActivityPose. For base ActivityPoses, the scale is (1,1,1). For entities this returns the accumulated scale. This value includes the parent's scale, and is similar to a ActivitySpace scale.

Returns
@NonNull Vector3

Total [Vector3] scale applied to self and children.

transformPoseTo

Added in 1.0.0-alpha01
abstract @NonNull Pose transformPoseTo(
    @NonNull Pose pose,
    @NonNull JxrPlatformAdapter.ActivityPose destination
)

Returns a pose relative to this entity transformed into a pose relative to the destination.

Parameters
@NonNull Pose pose

A pose in this entity's local coordinate space.

@NonNull JxrPlatformAdapter.ActivityPose destination

The entity which the returned pose will be relative to.

Returns
@NonNull Pose

The pose relative to the destination entity.