Skip to content

RobotController

struct · namespace Hazel

public readonly struct RobotController

Constructors

RobotController(RobotControllerComponent)

public RobotController(RobotControllerComponent component)

Methods

GetBool(uint, uint)

public bool GetBool(uint slotId, uint commandId)

GetBool(TSlot, TCmd)

public bool GetBool<TSlot, TCmd>(TSlot slotId, TCmd commandId) where TSlot : unmanaged, Enum where TCmd : unmanaged, Enum

GetFloat(uint, uint)

public float GetFloat(uint slotId, uint commandId)

GetFloat(TSlot, TCmd)

public float GetFloat<TSlot, TCmd>(TSlot slotId, TCmd commandId) where TSlot : unmanaged, Enum where TCmd : unmanaged, Enum

IsMotionGraphActive()

public bool IsMotionGraphActive()

IsPolicyActive(uint)

public bool IsPolicyActive(uint slotId)

IsPolicyActive(TSlot)

public bool IsPolicyActive<TSlot>(TSlot slotId) where TSlot : unmanaged, Enum

SetBool(uint, uint, bool)

public void SetBool(uint slotId, uint commandId, bool value)

SetBool(TSlot, TCmd, bool)

public void SetBool<TSlot, TCmd>(TSlot slotId, TCmd commandId, bool value) where TSlot : unmanaged, Enum where TCmd : unmanaged, Enum

SetDrivenJoints(uint, string[])

public void SetDrivenJoints(uint slotId, string[] jointNames)

SetDrivenJoints(TSlot, string[])

public void SetDrivenJoints<TSlot>(TSlot slotId, string[] jointNames) where TSlot : unmanaged, Enum

SetFloat(uint, uint, float)

public void SetFloat(uint slotId, uint commandId, float value)

SetFloat(TSlot, TCmd, float)

public void SetFloat<TSlot, TCmd>(TSlot slotId, TCmd commandId, float value) where TSlot : unmanaged, Enum where TCmd : unmanaged, Enum

SetMotionGraphActive(bool)

public void SetMotionGraphActive(bool active)

SetPolicyActive(uint, bool)

public void SetPolicyActive(uint slotId, bool active)

SetPolicyActive(TSlot, bool)

public void SetPolicyActive<TSlot>(TSlot slotId, bool active) where TSlot : unmanaged, Enum

Operators

implicit operator RobotController

static

public static implicit operator RobotController(RobotControllerComponent c)

Source: Hazel/Robots/RobotController.cs