Small World Engine API Reference - v0.46.1
    Preparing search index...

    Class FixedStrategy

    A camera strategy where the camera stays at its current position but looks at a target. This strategy allows manual movement of the camera's position property while ensuring the view orientation is updated correctly.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    constraints?: CameraConstraints

    Optional spatial constraints for the camera.

    type: string = CameraStrategyType.FIXED

    The unique type identifier of the strategy.

    Methods