Extends
Methods
-
read (json) overrides
-
Read the JSON associated to the floor
Name Type Description jsonObject Json object describing the floor -
updateGeometry (geometry, position, width, height, count)Object overrides
-
Update the geometry associated to this floor and return the collision result
Name Type Description geometryTHREE.Geometry The geometry asoociated to the autotiles positionArray.<number> The json position widthnumber The texture total width heightnumber The texture total height countnumber The faces count Returns:
Type Description Object -
Return the rect index
Returns:
Type Description number