Skip to main content

There are sometimes cases where you want to display imagery to the VR user without affecting the results captured by MixCast. MixCast provides the ability to flag the Actors representing these objects so that they are excluded from the scene when MixCast renders it. To specify these Actors either a Blueprint or C++ function can be called at the start of each of the Actors’ lifecycles.

Using Components

  1. Add the “MixCast Actor Visibility” component to the Actor to control the visibility of.
  2. Configure the fields in the Details pane as desired.

Using Blueprints

  1. Add the “Set Actor Visibility for MixCast” node to your Blueprint.
  2. Connect the Execution and Target pins. The Target should point to the Actor to control the visibility of.
  3. Configure the fields in the node as desired.

Using C++

Call the following function with the desired values. Your AActor reference should point to the Actor to control the visibility of.

void UMixCastBPFunctionLibrary::SetActorVisibilityForMixCast(
    AActor* Target, 
    bool ShowForRegularCameras, 
    bool ShowForMixCastCameras, 
    EMixCastCameraMode MixCastCameraMode, 
    ERenderTypeCondition RenderTypeCondition, 
    EPerspectiveCondition PerspectiveCondition
)

Here are some examples where this could be applied:

  • Login Screen with Password Input (User only – Hidden from MixCast)
  • Heads-up Display such as Health Bars (User or First Person MixCast Camera)
  • Player Accessories such as Hats, Weapons, etc (Third Person MixCast Camera)
  • Avatar (Virtual+Third Person MixCast Camera)