Click or drag to resize

AspectNameGenerateUnique Method

Generate a unique aspect name by checking if an aspect with the given name already exists on a visual.

Namespace:  Demo3D.Visuals.Aspects
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
public static string GenerateUnique(
	Visual visual,
	string name
)

Parameters

visual
Type: Demo3D.VisualsVisual
The visual to check.
name
Type: SystemString
The initial name to generate against.

Return Value

Type: String
A unique name
See Also