|
YOM Replicator SDK 0.8.0.0
A metaverse SDK created by YOM
|
A portal that can portal players to a different metaspace.
Public Member Functions | |
Blueprint Functions | |
| bool | IsAvailable () |
| Returns true if the portal is available. More... | |
| void | OnPortalOpen () |
| An event that is called when the portal opens on the client, can be defined in blueprints. More... | |
| void | OnPortalClose () |
| An event that is called when the portal closes on the client, can be defined in blueprints. More... | |
| void | OnPortalOpenServer () |
| An event that is called when the portal opens on the server, can be defined in blueprints. More... | |
| void | OnPortalCloseServer () |
| An event that is called when the portal closes on the server, can be defined in blueprints. More... | |
| UMaterialInstance * | GetPortalMaterial () |
| Gets the material that needs to be displayed on the portal. More... | |
Public Attributes | |
Blueprint Members | |
| bool | AutoSetPortalMaterial = true |
| Automatically sets the portal material on a static mesh with the name "PortalDisplay". More... | |
| UMaterialInstance * | DefaultMapMaterial = nullptr |
| The default material for when the portal does not have a destination, or when the destination did not provide an image. More... | |
| float | TimeOutSeconds = 30 |
| After how many seconds the portal should automatically time out. More... | |
| UMaterialInstance * AYomPortal::GetPortalMaterial | ( | ) |
Gets the material that needs to be displayed on the portal.
| bool AYomPortal::IsAvailable | ( | ) |
Returns true if the portal is available.
| void AYomPortal::OnPortalClose | ( | ) |
An event that is called when the portal closes on the client, can be defined in blueprints.
| void AYomPortal::OnPortalCloseServer | ( | ) |
An event that is called when the portal closes on the server, can be defined in blueprints.
| void AYomPortal::OnPortalOpen | ( | ) |
An event that is called when the portal opens on the client, can be defined in blueprints.
| void AYomPortal::OnPortalOpenServer | ( | ) |
An event that is called when the portal opens on the server, can be defined in blueprints.
| bool AYomPortal::AutoSetPortalMaterial = true |
Automatically sets the portal material on a static mesh with the name "PortalDisplay".
| UMaterialInstance* AYomPortal::DefaultMapMaterial = nullptr |
The default material for when the portal does not have a destination, or when the destination did not provide an image.
| float AYomPortal::TimeOutSeconds = 30 |
After how many seconds the portal should automatically time out.