Table of Contents

Class ArchetypeComponent

Namespace
Coherence.Toolkit.Archetypes
Assembly
Coherence.Toolkit.dll
public class ArchetypeComponent
Inheritance
ArchetypeComponent

Constructors

ArchetypeComponent(Component, int)

public ArchetypeComponent(Component component, int maxLods)

Parameters

component Component
maxLods int

Properties

Bindings

public List<Binding> Bindings { get; }

Property Value

List<Binding>

Component

public Component Component { get; }

Property Value

Component

ComponentFullName

public string ComponentFullName { get; }

Property Value

string

DisplayName

public string DisplayName { get; }

Property Value

string

LodStepsActive

public int LodStepsActive { get; }

Property Value

int

MaxLods

public int MaxLods { get; }

Property Value

int

Methods

AddBinding(Binding, SchemaType)

public bool AddBinding(Binding binding, SchemaType type)

Parameters

binding Binding
type SchemaType

Returns

bool

AddLODStep(int, bool)

public void AddLODStep(int step, bool fromEditor = false)

Parameters

step int
fromEditor bool

GetTotalActiveBindings()

public int GetTotalActiveBindings()

Returns

int

GetTotalActiveMethodBindings()

public int GetTotalActiveMethodBindings()

Returns

int

GetTotalActiveValueBindings()

public int GetTotalActiveValueBindings()

Returns

int

GetTotalBitsOfLOD(int)

public int GetTotalBitsOfLOD(int lodStep)

Parameters

lodStep int

Returns

int

RemoveBinding(Binding)

public void RemoveBinding(Binding binding)

Parameters

binding Binding

RemoveLODStep(int)

public void RemoveLODStep(int step)

Parameters

step int