I want to iterate through technique passes on AngelScript, but I can’t seems to get it’s length.
I access the length using:
StaticModel@ model = node.GetComponent("StaticModel");
Material@ material = model.materials[0];
Technique@ technique = material.techniques[0];
int length = technique.passes.length;
But, it gives me error:
What happens?