Class ArchetypeComponent
- Namespace
- Coherence.Toolkit.Archetypes
- Assembly
- Coherence.Toolkit.dll
public class ArchetypeComponent
- Inheritance
-
ArchetypeComponent
Constructors
public ArchetypeComponent(Component component, int maxLods)
Parameters
component
Component
maxLods
int
Properties
public List<Binding> Bindings { get; }
Property Value
- List<Binding>
public Component Component { get; }
Property Value
- Component
public string ComponentFullName { get; }
Property Value
- string
public string DisplayName { get; }
Property Value
- string
public int LodStepsActive { get; }
Property Value
- int
public int MaxLods { get; }
Property Value
- int
Methods
public bool AddBinding(Binding binding, SchemaType type)
Parameters
binding
Binding
type
SchemaType
Returns
- bool
public void AddLODStep(int step, bool fromEditor = false)
Parameters
step
int
fromEditor
bool
public int GetTotalActiveBindings()
Returns
- int
public int GetTotalActiveMethodBindings()
Returns
- int
public int GetTotalActiveValueBindings()
Returns
- int
public int GetTotalBitsOfLOD(int lodStep)
Parameters
lodStep
int
Returns
- int
public void RemoveBinding(Binding binding)
Parameters
binding
Binding
public void RemoveLODStep(int step)
Parameters
step
int