Class ARMobileHitTestBehavior
Places owner entity after a successful hit test.
Inheritance
ARMobileHitTestBehavior
Implements
Inherited Members
Namespace: Evergine.ARMobile.Components
Assembly: Evergine.ARMobile.dll
Syntax
public class ARMobileHitTestBehavior : Behavior, IDependencyObject
Constructors
ARMobileHitTestBehavior()
Initializes a new instance of the ARMobileHitTestBehavior class.
Declaration
public ARMobileHitTestBehavior()
Properties
Mode
Gets or sets hit test mode.
Declaration
public ARMobileHitTestBehavior.Modes Mode { get; set; }
Property Value
Type | Description |
---|---|
ARMobileHitTestBehavior.Modes |
Methods
OnAttached()
Invoked when the object is attached to the system.
Declaration
protected override bool OnAttached()
Returns
Type | Description |
---|---|
bool | True if all is OK. |
Overrides
Update(TimeSpan)
Allows this instance to execute custom logic during its Update
.
Declaration
protected override void Update(TimeSpan gameTime)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | gameTime | The game time. |