EffectVectorVariable^ EffectVariable::AsVector::get() { ID3D10EffectVectorVariable* returnValue = CastInterface<ID3D10EffectVariable>()->AsVector(); return (returnValue == NULL || !returnValue->IsValid()) ? nullptr : gcnew EffectVectorVariable(returnValue); }