texPath = "assets/myTextures/" const textureIndex = rint(rand(1, 3)) @StartRule Lot --> alignScopeToAxes(y) s(1,1,1) center(xz) i("builtin:cube") comp(f) {front : Face("front") | back : Face("back") | all: Face("other") } Face ( sideSelector ) --> case sideSelector == "front" || sideSelector == "back" : setupProjection(0, scope.xy, '1, '1) projectUV(0) texture ( texPath + "frontback" + textureIndex + ".jpg" ) else : DoSomethingElse.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.