Class MotionControllerComponent
Motion Controller Component
Inheritance
System.Object
MotionControllerComponent
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: UE4DotNet.dll
Syntax
public class MotionControllerComponent : PrimitiveComponent
Properties
|
Improve this Doc
View Source
bDisableLowLatencyUpdate
Declaration
public bool bDisableLowLatencyUpdate { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
bDisplayDeviceModel
Declaration
public bool bDisplayDeviceModel { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CustomDisplayMesh
A mesh override that'll be displayed attached to this MotionController.
Declaration
public StaticMesh CustomDisplayMesh { get; set; }
Property Value
|
Improve this Doc
View Source
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static MotionControllerComponent DefaultObject { get; }
Property Value
|
Improve this Doc
View Source
DisplayComponent
Declaration
public PrimitiveComponent DisplayComponent { get; }
Property Value
|
Improve this Doc
View Source
DisplayMeshMaterialOverrides
Material overrides for the specified display mesh.
Declaration
public ObjectArrayField<MaterialInterface> DisplayMeshMaterialOverrides { get; }
Property Value
|
Improve this Doc
View Source
DisplayModelSource
Determines the source of the desired model. By default, the active XR system(s) will be queried and (if available) will provide a model for the associated device. NOTE: this may fail if there's no default model; use 'Custom' to specify your own.
Declaration
public Name DisplayModelSource { get; set; }
Property Value
|
Improve this Doc
View Source
MotionSource
Declaration
public Name MotionSource { get; set; }
Property Value
|
Improve this Doc
View Source
PlayerIndex
Which player index this motion controller should automatically follow
Declaration
public int PlayerIndex { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
StaticClass
Declaration
public static Class StaticClass { get; }
Property Value
Methods
|
Improve this Doc
View Source
GetParameterValue(Name)
Returns the value of a custom parameter on the current in use Motion Controller (see member InUseMotionController). Only valid for the duration of OnMotionControllerUpdated
Declaration
public (bool, float) GetParameterValue(Name InName)
Parameters
Type |
Name |
Description |
Name |
InName |
|
Returns
Type |
Description |
System.ValueTuple<System.Boolean, System.Single> |
|
|
Improve this Doc
View Source
GetTrackingSource()
Declaration
public EControllerHand GetTrackingSource()
Returns
|
Improve this Doc
View Source
IsTracked()
Whether or not this component had a valid tracked device this frame
Declaration
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
New(UObject, Name)
Spawn an object of this class
Declaration
public static MotionControllerComponent New(UObject obj = null, Name name = default(Name))
Parameters
Returns
|
Improve this Doc
View Source
SetAssociatedPlayerIndex(Int32)
Set Associated Player Index
Declaration
public void SetAssociatedPlayerIndex(int NewPlayer)
Parameters
Type |
Name |
Description |
System.Int32 |
NewPlayer |
|
|
Improve this Doc
View Source
SetCustomDisplayMesh(StaticMesh)
Declaration
public void SetCustomDisplayMesh(StaticMesh NewDisplayMesh)
Parameters
|
Improve this Doc
View Source
SetDisplayModelSource(Name)
Declaration
public void SetDisplayModelSource(Name NewDisplayModelSource)
Parameters
Type |
Name |
Description |
Name |
NewDisplayModelSource |
|
|
Improve this Doc
View Source
SetShowDeviceModel(Boolean)
Declaration
public void SetShowDeviceModel(bool bShowControllerModel)
Parameters
Type |
Name |
Description |
System.Boolean |
bShowControllerModel |
|
|
Improve this Doc
View Source
SetTrackingMotionSource(Name)
Set Tracking Motion Source
Declaration
public void SetTrackingMotionSource(Name NewSource)
Parameters
Type |
Name |
Description |
Name |
NewSource |
|
|
Improve this Doc
View Source
Declaration
public void SetTrackingSource(EControllerHand NewSource)
Parameters
Events
|
Improve this Doc
View Source
OnMotionControllerUpdated
Blueprint Implementable function for reponding to updated data from a motion controller (so we can use custom paramater values from it)
Declaration
public event MotionControllerComponent.OnMotionControllerUpdated_delegate OnMotionControllerUpdated
Event Type
Operators
|
Improve this Doc
View Source
Implicit(IntPtr to MotionControllerComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator MotionControllerComponent(IntPtr p)
Parameters
Type |
Name |
Description |
System.IntPtr |
p |
|
Returns