Class LocomotionProfile
- Namespace
- Trailblazer.Navigation.Motor
- Assembly
- Trailblazer.dll
Describes the installed locomotion modules for a object motor.
public sealed class LocomotionProfile
- Inheritance
-
LocomotionProfile
- Inherited Members
Constructors
LocomotionProfile(MoveLocomotion, FallLocomotion, PlatformLocomotion?, JumpLocomotion?, SlideLocomotion?, WaterLocomotion?, FlyLocomotion?, ClimbLocomotion?)
Initializes a new locomotion profile.
public LocomotionProfile(MoveLocomotion move, FallLocomotion fall, PlatformLocomotion? platform = null, JumpLocomotion? jump = null, SlideLocomotion? slide = null, WaterLocomotion? water = null, FlyLocomotion? fly = null, ClimbLocomotion? climb = null)
Parameters
moveMoveLocomotionfallFallLocomotionplatformPlatformLocomotionjumpJumpLocomotionslideSlideLocomotionwaterWaterLocomotionflyFlyLocomotionclimbClimbLocomotion
Properties
Climb
Optional climb locomotion.
public ClimbLocomotion? Climb { get; }
Property Value
Fall
Fall-state configuration for the motor.
public FallLocomotion Fall { get; }
Property Value
Fly
Optional flight locomotion.
public FlyLocomotion? Fly { get; }
Property Value
InstalledKinds
Gets the installed locomotion flags for this profile.
public LocomotionKind InstalledKinds { get; }
Property Value
Jump
Optional jump locomotion.
public JumpLocomotion? Jump { get; }
Property Value
Move
Core movement configuration for the motor.
public MoveLocomotion Move { get; }
Property Value
Platform
Required moving-platform locomotion.
public PlatformLocomotion Platform { get; }
Property Value
Slide
Optional slide locomotion.
public SlideLocomotion? Slide { get; }
Property Value
Water
Optional water locomotion.
public WaterLocomotion? Water { get; }
Property Value
Methods
CreateCoreOnly()
Creates a minimal profile with only required locomotion behavior installed.
public static LocomotionProfile CreateCoreOnly()
Returns
CreateDefault()
Creates the default profile with all built-in locomotions installed.
public static LocomotionProfile CreateDefault()