Changed to use correct dimensions in declarations of properties.
get { return new Vector4(value.x, value.y, 0, 0); }
}
public override string GetPropertyDeclarationString(string delimiter = ";")
{
return string.Format("float2 {0}{1}", referenceName, delimiter);
public override PreviewProperty GetPreviewMaterialProperty()
get { return new Vector4(value.x, value.y, value.z, 0); }
return string.Format("float3 {0}{1}", referenceName, delimiter);
return new PreviewProperty(PropertyType.Vector3)
get { return value; }
return string.Format("float4 {0}{1}", referenceName, delimiter);
return new PreviewProperty(PropertyType.Vector4)
result.Append(")");
return result.ToString();