Class RaycastComponent
Creates raycast requests and delegates their result.
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)
Namespace: UE4.MagicLeap
Assembly: UE4DotNet.dll
Syntax
public class RaycastComponent : ActorComponent
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static RaycastComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
RaycastComponent |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static RaycastComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
RaycastComponent |
RequestRaycast(RaycastQueryParams, Byte)
Requests a raycast with the given query parameters.
Declaration
public bool RequestRaycast(RaycastQueryParams RequestParams, byte ResultDelegate)
Parameters
Type | Name | Description |
---|---|---|
RaycastQueryParams | RequestParams | |
System.Byte | ResultDelegate |
Returns
Type | Description |
---|---|
System.Boolean |
Remarks
@param RequestParams Parameters for the raycast query. @param ResultDelegate Delegate which will be called when the raycast result is ready. @returns True if the raycast request was successfully placed, false otherwise.
Operators
| Improve this Doc View SourceImplicit(IntPtr to RaycastComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator RaycastComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
RaycastComponent |