Table of Contents

Class VCustom<T>

Namespace
Velvet.Experimental
Assembly
Velvet.Docs.dll

EXPERIMENTAL. Initializer-style builder for a custom UnityEngine.UIElements.VisualElement subclass. Maps to V.Custom<T>(string, string, string, System.Func<UnityEngine.UIElements.VisualElement, System.Action>, VNode[]); children added via the collection initializer are kept.

public sealed class VCustom<T> : VBuilder where T : VisualElement

Type Parameters

T

Concrete VisualElement subclass to instantiate.

Inheritance
object
VCustom<T>
Inherited Members

Constructors

VCustom(string?)

Methods

Build()

Converts this builder into a concrete VNode by delegating to the matching V.* factory.