Component:SlotRaycastTransferPortal

From Resonite Wiki
Component image 
Slot Raycast Transfer Portal component as seen in the Scene Inspector

The SlotRaycastTransferPortal acts very similarly to the Component:MeshUVRaycastPortal except that it works on colliders hitting a slot hiearchy to another slot rather than just a mesh and a camera.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Exit Slot The slot to send the raycast through if it hits this slot's hierarchy, converting the hit point / direction in this component slot's local space to the space of the slot specified here.
OverrideHitTriggers Nullable`1<Bool> Whether to override if a laser coming through will hit triggers and what to override it with.
Filter delegate of identity Func`3<ICollider, Int, Bool> The filter we should apply if a raycast comes through this portal?
FilterMode FilterCombineMode If a raycast being transfered has its own filter, how should we combine it with Filter if it exists?.

Usage

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also