Table of Contents

Class Vec2Uniform

Namespace
Bonsai.Shaders.Configuration
Assembly
Bonsai.Shaders.dll

Represents a configuration object for initializing the value of a shader uniform variable with two floating-point components.

public class Vec2Uniform : UniformConfiguration
Inheritance
Vec2Uniform
Inherited Members

Properties

Value

Gets or sets the value used to initialize the shader uniform.

[TypeConverter(typeof(NumericRecordConverter))]
public Vector2 Value { get; set; }

Property Value

Vector2

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.