public abstract string GetLoadAttributeCode(VFXAttribute attrib, VFXAttributeLocation location);
public override string GetLoadAttributeCode(VFXAttribute attrib, VFXAttributeLocation location) { throw new NotImplementedException(); }
public VFXAttributeExpression(VFXAttribute attribute, VFXAttributeLocation location = VFXAttributeLocation.Current) : base(Flags.PerElement) { m_attribute = attribute; m_attributeLocation = location; }
public string GetNameInCode(VFXAttributeLocation location) { string structName = location == VFXAttributeLocation.Source ? "sourceAttributes" : "attributes"; return(String.Format("{0}.{1}", structName, name)); }