Share via


ComponentBase Class

Definition

Base class for all components.

public ref class ComponentBase : Microsoft::Azure::RemoteRendering::ObjectBase
public class ComponentBase : Microsoft.Azure.RemoteRendering.ObjectBase
type ComponentBase = class
    inherit ObjectBase
Public Class ComponentBase
Inherits ObjectBase
Inheritance
ComponentBase
Derived

Remarks

Components add functionality to entities. For example, a CutPlaneComponent turns an entity into an object that cuts meshes open.

An entity can only have one instance of each component type attached at any given time.

Properties

Enabled

Enabled state of this component.

InteropId (Inherited from ObjectBase)
Owner

The Entity that this component is attached to.

Type

The exact type of this component.

Valid

Whether this component is still valid.

Methods

AsToolingObject<ToolingObject>() (Inherited from ObjectBase)
Destroy()

Destroys the component in the runtime.

Equals(Object) (Inherited from ObjectBase)
GetHashCode() (Inherited from ObjectBase)

Applies to

See also