Class XRAssetFunctionLibrary
UXRAssetFunctionLibrary
Inherited Members
Namespace: UE4.HeadMountedDisplay
Assembly: UE4DotNet.dll
Syntax
public class XRAssetFunctionLibrary : BlueprintFunctionLibrary
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static XRAssetFunctionLibrary DefaultObject { get; }
Property Value
Type | Description |
---|---|
XRAssetFunctionLibrary |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceAddDeviceVisualizationComponentBlocking(Actor, XRDeviceId, Boolean, Transform)
Spawns a render component for the specified XR device.
Declaration
public static PrimitiveComponent AddDeviceVisualizationComponentBlocking(Actor Target, XRDeviceId XRDeviceId, bool bManualAttachment, Transform RelativeTransform)
Parameters
Type | Name | Description |
---|---|---|
Actor | Target | |
XRDeviceId | XRDeviceId | |
System.Boolean | bManualAttachment | |
Transform | RelativeTransform |
Returns
Type | Description |
---|---|
PrimitiveComponent |
Remarks
NOTE: The associated XR system backend has to provide a model for this to work - if one is not available for the specific device, then this will fail and return an invalid (null) object.
@param Target The intended owner for the component to attach to. @param XRDeviceId Specifies the device you're wanting a model for. @param bManualAttachment If set, will leave the component unattached (mirror's the same option on the generic AddComponent node). When unset the component will attach to the actor's root. @param RelativeTransform Specifies the component initial transform (relative to its attach parent).
@return A new component representing the specified device (invalid/null if a model for the device doesn't exist).
AddNamedDeviceVisualizationComponentBlocking(Actor, Name, Name, Boolean, Transform)
Spawns a render component for the specified XR device.
Declaration
public static (XRDeviceId, PrimitiveComponent) AddNamedDeviceVisualizationComponentBlocking(Actor Target, Name SystemName, Name DeviceName, bool bManualAttachment, Transform RelativeTransform)
Parameters
Type | Name | Description |
---|---|---|
Actor | Target | |
Name | SystemName | |
Name | DeviceName | |
System.Boolean | bManualAttachment | |
Transform | RelativeTransform |
Returns
Type | Description |
---|---|
System.ValueTuple<XRDeviceId, PrimitiveComponent> |
Remarks
NOTE: The associated XR system backend has to provide a model for this to work - if one is not available for the specific device, then this will fail and return an invalid (null) object.
@param Target The intended owner for the component to attach to. @param SystemName (optional) Targets a specific XR system (i.e. 'Oculus', 'SteamVR', etc.). If left as 'None', then the first system found that can render the device will be used. @param DeviceName Source name of the specific device - expect the same names that the MotionControllerComponent's "MotionSource" field uses ('Left', 'Right', etc.). @param bManualAttachment If set, will leave the component unattached (mirror's the same option on the generic AddComponent node). When unset the component will attach to the actor's root. @param RelativeTransform Specifies the component initial transform (relative to its attach parent).
@return A new component representing the specified device (invalid/null if a model for the device doesn't exist).
New(UObject, Name)
Spawn an object of this class
Declaration
public static XRAssetFunctionLibrary New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
XRAssetFunctionLibrary |
Operators
| Improve this Doc View SourceImplicit(IntPtr to XRAssetFunctionLibrary)
Convert from IntPtr to UObject
Declaration
public static implicit operator XRAssetFunctionLibrary(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
XRAssetFunctionLibrary |