Scripting

Search The Documentation:

  1. Home
  2. Docs
  3. Scripting
  4. Mesh
  5. scaleTexture

scaleTexture

Platform Compatibility

PC Mac OSX Oculus Quest
X X X

Alter the scale of the texture by X and Y

Parameters:

  • x
    • A float value
  • y
    • A float value

Example:

1
obj.scaleTexture(x, y)
Tags
Was this article helpful to you? Yes No

How can we help?