Show / Hide Table of Contents

Class XRAssetFunctionLibrary

UXRAssetFunctionLibrary

Inheritance
System.Object
UObject
BlueprintFunctionLibrary
XRAssetFunctionLibrary
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
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)
Namespace: UE4.HeadMountedDisplay
Assembly: UE4DotNet.dll
Syntax
public class XRAssetFunctionLibrary : BlueprintFunctionLibrary

Properties

| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static XRAssetFunctionLibrary DefaultObject { get; }
Property Value
Type Description
XRAssetFunctionLibrary
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

AddDeviceVisualizationComponentBlocking(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).

| Improve this Doc View Source

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).

| Improve this Doc View Source

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 Source

Implicit(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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX