Bitbybit Docs
    Preparing search index...

    Class GenericTextureDto (Inputs.Draw)

    Opciones genéricas de creación de texturas que funcionan en todos los motores de juego compatibles. Estas opciones se asignan a las propiedades de textura específicas de cada motor.

    Index

    Constructors

    • Parameters

      • Optionalurl: string
      • Optionalname: string
      • OptionaluScale: number
      • OptionalvScale: number
      • OptionaluOffset: number
      • OptionalvOffset: number
      • OptionalwAng: number
      • OptionalinvertY: boolean
      • OptionalinvertZ: boolean
      • OptionalsamplingMode: Bit.Inputs.Draw.samplingModeEnum

      Returns GenericTextureDto

    Properties

    url: string

    URL de la imagen de la textura. Puede ser una ruta local o una URL remota.

    undefined
    
    name: string

    Identificador de nombre de la textura

    Texture
    
    uScale: number

    Escala/repetición horizontal (U) de la textura

    1
    

    0

    Infinity

    0.1

    vScale: number

    Escala/repetición vertical (V) de la textura

    1
    

    0

    Infinity

    0.1

    uOffset: number

    Desplazamiento horizontal (U) de la textura

    0
    

    -Infinity

    Infinity

    0.1

    vOffset: number

    Desplazamiento vertical (V) de la textura

    0
    

    -Infinity

    Infinity

    0.1

    wAng: number

    Ángulo de rotación de la textura en radianes alrededor del eje W

    0
    

    -Infinity

    Infinity

    0.1

    invertY: boolean

    Invertir la textura en el eje Y

    false
    
    invertZ: boolean

    Invertir la textura en el eje Z

    false
    

    Modo de muestreo/filtrado de la textura

    nearest