VPanorama180Wrapper
- class VPanorama180.VPanorama180Wrapper(object: Object)
Bases:
Object- class PlayerLockOptions
Bases:
object- Lock: Any = Ellipsis
Lock player
- DontLock: Any = Ellipsis
Don’t lock player
- property PlayerLockMode: Any
- Returns:
value from the list:
VPanorama180Wrapper.PlayerLockOptions.Lock
VPanorama180Wrapper.PlayerLockOptions.DontLock
Example:
value = instance.PlayerLockMode
- TeleportPlayerInPanorama() None
Teleport player
Example:
instance.TeleportPlayerInPanorama()
- Load() None
Load panorama image
Example:
instance.Load()
- Unload() None
Unload panorama image
Example:
instance.Unload()
- AddPanoramaImageLoadedHandler(handler: Callable[[Object], CoroutineType]) None
Panorama image loaded
- Parameters:
handler –
Asynchronous handler function with signature:
sender (Object): the object that triggered the event
Example:
async def OnPanoramaImageLoaded(sender): pass instance.AddPanoramaImageLoadedHandler(OnPanoramaImageLoaded)
- AddPanoramaImageUnloadedHandler(handler: Callable[[Object], CoroutineType]) None
Panorama image unloaded
- Parameters:
handler –
Asynchronous handler function with signature:
sender (Object): the object that triggered the event
Example:
async def OnPanoramaImageUnloaded(sender): pass instance.AddPanoramaImageUnloadedHandler(OnPanoramaImageUnloaded)