Class HierarchicalStateOverrideComponent

Controls the visualization of sub-hierarchies of entities.

class Microsoft::Azure::RemoteRendering::HierarchicalStateOverrideComponent final : public Microsoft::Azure::RemoteRendering::ComponentBase

Methods

GetState

Returns the current enabled state of a feature.

auto GetState(Microsoft::Azure::RemoteRendering::HierarchicalStates feature) noexcept -> Expected<Microsoft::Azure::RemoteRendering::HierarchicalEnableState, Microsoft::Azure::RemoteRendering::Status>;

Parameters

Name Type Description
feature HierarchicalStates A single feature to query the current status on. Unlike SetState, multiple feature bits cannot be combined here.

Returns

Type Description
HierarchicalEnableState

SetState

Sets specific features to a new state of type HierarchicalEnableState.

auto SetState(Microsoft::Azure::RemoteRendering::HierarchicalStates feature, Microsoft::Azure::RemoteRendering::HierarchicalEnableState enabledState) noexcept -> Microsoft::Azure::RemoteRendering::Status;

Parameters

Name Type Description
feature HierarchicalStates The feature(s) to modify. A bitwise combination of features can be passed here to modify multiple features simultaneously.
enabledState HierarchicalEnableState The new state.

Properties

CutPlaneFilterMask

The cut plane filter mask of this component.

auto GetCutPlaneFilterMask() const noexcept -> unsigned char;
auto SetCutPlaneFilterMask(unsigned char value) noexcept -> Microsoft::Azure::RemoteRendering::Status;

DisableCollisionState

Wraps around GetState/SetState for the HierarchicalStates.DisableCollision feature.

auto GetDisableCollisionState() const noexcept -> Microsoft::Azure::RemoteRendering::HierarchicalEnableState;
auto SetDisableCollisionState(Microsoft::Azure::RemoteRendering::HierarchicalEnableState value) noexcept -> Microsoft::Azure::RemoteRendering::Status;

HiddenState

Wraps around GetState/SetState for the HierarchicalStates.Hidden feature.

auto GetHiddenState() const noexcept -> Microsoft::Azure::RemoteRendering::HierarchicalEnableState;
auto SetHiddenState(Microsoft::Azure::RemoteRendering::HierarchicalEnableState value) noexcept -> Microsoft::Azure::RemoteRendering::Status;

SeeThroughState

Wraps around GetState/SetState for the HierarchicalStates.SeeThrough feature.

auto GetSeeThroughState() const noexcept -> Microsoft::Azure::RemoteRendering::HierarchicalEnableState;
auto SetSeeThroughState(Microsoft::Azure::RemoteRendering::HierarchicalEnableState value) noexcept -> Microsoft::Azure::RemoteRendering::Status;

SelectedState

Wraps around GetState/SetState for the HierarchicalStates.Selected feature.

auto GetSelectedState() const noexcept -> Microsoft::Azure::RemoteRendering::HierarchicalEnableState;
auto SetSelectedState(Microsoft::Azure::RemoteRendering::HierarchicalEnableState value) noexcept -> Microsoft::Azure::RemoteRendering::Status;

ShellState

Wraps around GetState/SetState for the HierarchicalStates.Shell feature.

auto GetShellState() const noexcept -> Microsoft::Azure::RemoteRendering::HierarchicalEnableState;
auto SetShellState(Microsoft::Azure::RemoteRendering::HierarchicalEnableState value) noexcept -> Microsoft::Azure::RemoteRendering::Status;

TintColor

The color to use for tinting the meshes below this node.

The tint color is only used if the HierarchicalStateOverrideComponent.UseTintColorState is set to HierarchicalEnableState.ForceOn.

auto GetTintColor() const noexcept -> Microsoft::Azure::RemoteRendering::Color4Ub;
auto SetTintColor(Microsoft::Azure::RemoteRendering::Color4Ub const& value) noexcept -> Microsoft::Azure::RemoteRendering::Status;

UseCutPlaneFilterMaskState

Wraps around GetState/SetState for the HierarchicalStateFlags.UseCutPlaneFilterMask feature

auto GetUseCutPlaneFilterMaskState() const noexcept -> Microsoft::Azure::RemoteRendering::HierarchicalEnableState;
auto SetUseCutPlaneFilterMaskState(Microsoft::Azure::RemoteRendering::HierarchicalEnableState value) noexcept -> Microsoft::Azure::RemoteRendering::Status;

UseTintColorState

Wraps around GetState/SetState for the HierarchicalStates.UseTintColor feature.

auto GetUseTintColorState() const noexcept -> Microsoft::Azure::RemoteRendering::HierarchicalEnableState;
auto SetUseTintColorState(Microsoft::Azure::RemoteRendering::HierarchicalEnableState value) noexcept -> Microsoft::Azure::RemoteRendering::Status;

See also