phaser4-rex-plugins
Version:
23 lines (17 loc) • 597 B
TypeScript
import RenderTexture from '../../gameobjects/mesh/perspective/rendertexture/RenderTexture';
import ContainerLite from '../../gameobjects/container/containerlite/ContainerLite';
export default ContainerPerspective;
declare namespace ContainerPerspective {
interface IConfig {
useParentBounds?: boolean,
}
}
declare class ContainerPerspective extends RenderTexture {
constructor(
parentContainer: ContainerLite,
config?: ContainerPerspective.IConfig
);
enter(): this;
exit(): this;
readonly perspectiveState: boolean;
}