Bitbybit Docs
    Preparing search index...

    Class GenericTextureDto (Inputs.Draw)

    Opções genéricas de criação de textura que funcionam em todos os motores de jogo suportados. Estas opções são mapeadas para as propriedades 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 da imagem da textura. Pode ser um caminho local ou um URL remoto.

    undefined
    
    name: string

    Identificador de nome para a textura

    Texture
    
    uScale: number

    Escala/repetição horizontal (U) da textura

    1
    

    0

    Infinity

    0.1

    vScale: number

    Escala/repetição vertical (V) da textura

    1
    

    0

    Infinity

    0.1

    uOffset: number

    Deslocamento horizontal (U) da textura

    0
    

    -Infinity

    Infinity

    0.1

    vOffset: number

    Deslocamento vertical (V) da textura

    0
    

    -Infinity

    Infinity

    0.1

    wAng: number

    Ângulo de rotação da textura em radianos em torno do eixo W

    0
    

    -Infinity

    Infinity

    0.1

    invertY: boolean

    Inverte a textura no eixo Y

    false
    
    invertZ: boolean

    Inverte a textura no eixo Z

    false
    

    Modo de amostragem/filtragem da textura

    nearest