PortalMaterial

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

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

See also

Constructors

Link copied to clipboard
constructor()

Construct PortalMaterial.