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

            return(String.Format("{0}.{1}", structName, name));
        }