Skip to content

Game Component OBJ Mesh Geometry

Rui edited this page Apr 5, 2020 · 2 revisions

Game Component - OBJ Mesh Geometry

Objective

Loads an OBJ or FBX model and attaches to the current Game Object.

Props

assetURL (string, mandatory) - an url of the model

scale (numeric, optional) - a numeric value to indicate the global scale of the object loaded

materialOptions (object,optional) - a set of parameters to be passed to the model loaded material initialized based on THREE.js material options object

materialType (string, optional) - an id for the available material type for the model. Default is "basic", can be "standard".

  • About
  • Running the project
  • Game
    • Architecture
    • Collisions
  • Engine
    • Architecture
    • Game Objects
    • Game Components
      • Game Components list
    • Services
      • Services list

Clone this wiki locally