Class DebugUI.VectorField<T>
Generic base class for vector fields with stepper support for Runtime.
Inheritance
DebugUI.VectorField<T>
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public abstract class DebugUI.VectorField<T> : DebugUI.Field<T>, DebugUI.IValueField where T : struct
Type Parameters
| Name |
Description |
| T |
The numeric vector type
|
Fields
decimals
Declaration
Field Value
incStep
Declaration
Field Value
incStepMult
Step increment multiplier.
Declaration
Field Value
Properties
this[int]
Declaration
protected abstract float this[int index] { get; }
Parameters
| Type |
Name |
Description |
| int |
index |
|
Property Value
Methods
Create()
Creates the VisualElement for the widget that will be added to the panel UI.
Declaration
protected override VisualElement Create()
Returns
Overrides
CreateEditorVectorField()
Declaration
protected abstract BaseField<T> CreateEditorVectorField()
Returns
GetComponentCount()
Declaration
protected abstract int GetComponentCount()
Returns
GetComponentNames()
Declaration
protected abstract string[] GetComponentNames()
Returns
GetVectorComponents(T)
Declaration
protected abstract float[] GetVectorComponents(T vector)
Parameters
| Type |
Name |
Description |
| T |
vector |
|
Returns
GetVectorTypeName()
Declaration
protected abstract string GetVectorTypeName()
Returns
SetVectorComponent(T, int, float)
Declaration
protected abstract T SetVectorComponent(T vector, int componentIndex, float value)
Parameters
| Type |
Name |
Description |
| T |
vector |
|
| int |
componentIndex |
|
| float |
value |
|
Returns
Implements
Extension Methods