Skip to main content

TwinfinityThinEngineExtensions

Twinfinity extension methods for BabylonJS ThinEngine.

Index

Methods

getRenderSizeToRef

  • getRenderSizeToRef(dst: ISize): ISize
  • Writes current engine render size to the specified parameter and returns it. Same as calling ThinEngine.getRenderWidth() and ThinEngine.getRenderHeight.


    Parameters

    • dst: ISize

      render size written here.

    Returns ISize

    dst parameter.