Sha256: 712dba3815d515a5e9d4140093a6f76363f9877f87d2fd38751eba7829e4b24c

Contents?: true

Size: 935 Bytes

Versions: 3

Compression:

Stored size: 935 Bytes

Contents

#!/usr/bin/env ruic
metadata 'MetaData.xml'                         # optional; also may be set via -m flag
uia 'projects/CustomClasses/CustomClasses.uia'  # required before other commands
show app.errors if app.errors?

main = app.main_presentation

effect = main/"Scene.Layer.Brush Strokes"
assert effect
assert effect.name == "Brush Strokes"
assert effect.properties.length == 11 # 6 shared asset, 1 effect, 4 from effect
assert effect['brushAngle'].value == 45
assert effect['starttime',1] == 0
assert effect['NoiseSamp'].value == 'maps/effects/brushnoise.dds'

material = main/"Scene.Layer.Rectangle.Material"
assert material.properties.length == 12 # 6 shared asset, 2 MaterialBase, 4 from material
assert material.name == "Material"
assert material['uEnvironmentMappingEnabled']
assert !material['ATTRIBUTE-DOES-NOT-EXIST']
assert material['uEnvironmentTexture',1] == 'maps/materials/spherical_checker.png'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
RUIC-0.4.6 test/customclasses.ruic
RUIC-0.4.5 test/customclasses.ruic
RUIC-0.4.2 test/customclasses.ruic