How Can I Change Sub Scene Texture ?

Discussion in 'Buildbox General Discussion' started by mohamed awad, May 23, 2020.

  1. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    281
    Likes Received:
    151
    what i need is change sub scene texture many times in one sub scene, build many sub scene with different texture cause some problems for me so i need anther way,
    like...
    how can i call texture using js code ? what is texture component method ? and how change it inside sub scene..
    or any other suggestions ?
    dvdv.png
     
  2. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    281
    Likes Received:
    151
    this return all 3dmobel components
    meshComponents()

    this set texture for 3dmobel
    setTexture(name)

    that what i have for now
    can anyone help me to change Sub scene model texture using code ?
     
  3. mohamed awad

    mohamed awad Avid Boxer

    Joined:
    Mar 10, 2019
    Messages:
    281
    Likes Received:
    151
    anyone ?
    i need some help here, it's important
    even if you can share any examples for this lines
    setTexture(name)
    meshComponents()
     

Share This Page