i am sorry if this question seems stupid and may be more of a c programming question than a collada one, but i still hope you can help me

how do i cast a daeTArray<T> to domEffect_Array ? (which is daeTArray<domEffectRef>)

daeTArray is returned by the function getChildren() (library_effects->getChildren())

thank you in advance!