Skip to content
Leonid Pospelov edited this page Jul 28, 2019 · 2 revisions

Constructor: Look()

let look = new Look();

Constructor: Look(race, sex)

  • race - String. Playable race name 'Nord', 'Khajiit', etc.
  • sex - String. Valid values are 'Male' and 'Female'.
let look = new Look('Nord', 'Male');

Constructor: Look(options)

let look = new Look({
  race: 'Nord',
  sex: 'Male',
  weight: 0, // Muscles, from 0 to 10
  skinColor: [0, 0, 0], // RGB
  hairColor: [0, 0, 0], // RGB
  headparts: [], // FormIDs
  headTextureSet: 0, // FormID or 0
  options: [],
  presets: [],
  tints: [{
    textureId: 1, // From 0 to 255
    color: [0, 0, 0], // RGB
    alpha: 0.5, // From 0.0 to 1.0
    type: 1, // UInt32
  }]
});
Clone this wiki locally