IGetComponent2 Method (IEntity)
Gets the owning component for this entity.
.NET Syntax
| Visual Basic (Declaration) | |
|---|
Function IGetComponent2() As Component2 |
| Visual Basic (Usage) | |
|---|
Dim instance As IEntity
Dim value As Component2
value = instance.IGetComponent2() |
| C# | |
|---|
Component2 IGetComponent2() |
| C++/CLI | |
|---|
Component2^ IGetComponent2(); |
Return Value
Pointer to the component that owns this entity
Remarks
See Also