Assembly: VRage.Game.dll

public interface IMyUseObject

Properties

Member Description
ActivationMatrix Matrix of object, scale represents size of object
ContinuousUsage When true, use will be called every frame
Dummy
InstanceID Instance ID of objects (this should mostly be unused
InteractiveDistance Consider object as being in interactive range only if distance from character is smaller or equal to this value
Owner
PlayIndicatorSound
PrimaryAction Main action of this use object
RenderObjectID Render ID of objects
SecondaryAction Secondary action of this use object
ShouldUpdateTooltips
ShowOverlay Show overlay (semitransparent bounding box)
SupportedActions Returns supported actions
WorldMatrix Matrix of object, scale represents size of object

Methods

Member Description
GetActionInfo(UseActionEnum) Gets action text Caller calls this method only on supported actions
HandleInput()
OnSelectionLost()
SetInstanceID(int)
SetRenderID(uint)
Use(UseActionEnum, IMyEntity) Uses object by specified action Caller calls this method only on supported actions

Inheritors: