csharp
public record class GraphSurfaceVectorFour numbers a graph-authored surface asks its material for.
Remarks
A Vector4 and not a colour, because a graph's float4 is as often a packed mask or a set of thresholds as it is a tint — the same distinction VectorParameter and ColourParameter keep in the authoring format, resolved here in favour of the one that cannot lose information.
Fields and properties (2)
public string Namepublic Vector4 Value
Methods (2)
public GraphSurfaceVector(string Name, Vector4 Value)Four numbers a graph-authored surface asks its material for.
public GraphSurfaceVector()For the binder, which builds a value and then fills it.
Used by (9)
- GraphSurfaceFeatureVixen.Rendering
- TypeRegistrationVixen.Rendering
- Vixen_Rendering_Materials_GraphSurfaceFeatureSerializerVixen.Rendering
- Vixen_Rendering_Materials_GraphSurfaceVectorSerializerVixen.Rendering
- GraphMaterialTestsVixen.Editor.ShaderGraph.Tests
- MaterialDocumentVixen.Editor.AssetEditors
- MaterialGraphPropertyTestsVixen.Editor.AssetEditors.Tests
- MaterialViewVixen.Editor.AssetEditors
- ShaderGraphMaterialVixen.Editor.ShaderGraph