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

    Variable TextureWrapConst

    TextureWrap: {
        CLAMP_TO_EDGE: "clamp-to-edge";
        DEFAULT: "repeat";
        MIRRORED_REPEAT: "mirror-repeat";
        REPEAT: "repeat";
    } = ...

    Texture wrapping modes.

    Type Declaration

    • ReadonlyCLAMP_TO_EDGE: "clamp-to-edge"

      Clamp the texture coordinates to the edge.

    • ReadonlyDEFAULT: "repeat"

      The wrap mode assumed when none is specified.

    • ReadonlyMIRRORED_REPEAT: "mirror-repeat"

      Repeat the texture mirrored.

    • ReadonlyREPEAT: "repeat"

      Repeat the texture.