Class MyComponentAggregateExtensions
Inheritance
System.Object
MyComponentAggregateExtensions
Assembly: VRage.Game.dll
Syntax
public static class MyComponentAggregateExtensions : Object
Methods
AddComponent(IMyComponentAggregate, MyComponentBase)
Declaration
public static void AddComponent(this IMyComponentAggregate aggregate, MyComponentBase component)
Parameters
AttachComponent(IMyComponentAggregate, MyComponentBase)
Adds to list but doesn't change ownership
Declaration
public static void AttachComponent(this IMyComponentAggregate aggregate, MyComponentBase component)
Parameters
DetachComponent(IMyComponentAggregate, MyComponentBase)
Removes from list, but doesn't change ownership
Declaration
public static void DetachComponent(this IMyComponentAggregate aggregate, MyComponentBase component)
Parameters
GetComponentsFlattened(IMyComponentAggregate, List<MyComponentBase>)
Declaration
public static void GetComponentsFlattened(this IMyComponentAggregate aggregate, List<MyComponentBase> output)
Parameters
RemoveComponent(IMyComponentAggregate, MyComponentBase)
Declaration
public static bool RemoveComponent(this IMyComponentAggregate aggregate, MyComponentBase component)
Parameters
Returns
Type |
Description |
System.Boolean |
|