PortalMaterial

A material that turns a mesh into a portal to a portable world.

This material works with com.pico.spatial.core.ecs.PortalComponent. To turn a mesh into a portal, add this material to com.pico.spatial.core.ecs.ModelComponent and also attach a com.pico.spatial.core.ecs.PortalComponent to the same entity.

See also

Constructors

Link copied to clipboard
constructor()

Construct PortalMaterial.