SurfaceEntity.Shape.Hemisphere


public final class SurfaceEntity.Shape.Hemisphere implements SurfaceEntity.Shape


An inwards-facing hemisphere-shaped canvas, where (0,0,0) is the center of the base of the hemisphere. Radius is represented in the local spatial coordinate system of the entity. This is intended to be used by setting the entity's pose to the user's head pose. The center of the Surface will be mapped to (0, 0, -radius) in the local coordinate space, and texture coordinate UV's are applied from positive X to negative X in an equirectangular projection.

Summary

Public constructors

Hemisphere(float radius)

Public methods

final float

The radius of the hemisphere in the local spatial coordinate system of the entity.

Public constructors

Hemisphere

Added in 1.0.0-alpha07
public Hemisphere(float radius)

Public methods

getRadius

Added in 1.0.0-alpha07
public final float getRadius()

The radius of the hemisphere in the local spatial coordinate system of the entity.