Пример #1
0
 void ICustomVisit <string> .CustomVisit(string value)
 {
     StringBuffer.Append(' ', Style.Space * Indent);
     StringBuffer.AppendPropertyName(Property.Name);
     StringBuffer.Append(value);
     StringBuffer.Append(",\n");
 }
Пример #2
0
 public void Visit <TContainer>(ref TContainer container, VisitContext <float4> context) where TContainer : IPropertyContainer
 {
     StringBuffer.Append(' ', Style.Space * Indent);
     StringBuffer.AppendPropertyName(context.Property.Name);
     StringBuffer.Append('[');
     StringBuffer.AppendFloat4(context.Value);
     StringBuffer.Append(']');
     StringBuffer.Append(",\n");
 }
Пример #3
0
 void ICustomVisit <float4> .CustomVisit(float4 value)
 {
     StringBuffer.Append(' ', Style.Space * Indent);
     StringBuffer.AppendPropertyName(Property.Name);
     StringBuffer.Append('[');
     StringBuffer.AppendFloat4(value);
     StringBuffer.Append(']');
     StringBuffer.Append(",\n");
 }
Пример #4
0
 void ICustomVisit <float3x3> .CustomVisit(float3x3 value)
 {
     StringBuffer.Append(' ', Style.Space * Indent);
     StringBuffer.AppendPropertyName(Property.Name);
     StringBuffer.Append('[');
     StringBuffer.AppendFloat3(value.c0);
     StringBuffer.Append(',');
     StringBuffer.AppendFloat3(value.c1);
     StringBuffer.Append(',');
     StringBuffer.AppendFloat3(value.c2);
     StringBuffer.Append(']');
     StringBuffer.Append(",\n");
 }