Table of Contents

Class InspectorMemberActionsMenuItemsGenerationEvent

Namespace
MonkeyLoader.Resonite.UI.Inspectors
Assembly
MonkeyLoader.Resonite.Integration.dll

Represents the event data for the FrooxEngine.InspectorMemberActions FrooxEngine.ContextMenu items generation event.

public sealed class InspectorMemberActionsMenuItemsGenerationEvent : ContextMenuItemsGenerationEvent<InspectorMemberActions>, ITargetSyncMemberEvent
Inheritance
ContextMenuItemsGenerationEvent<InspectorMemberActions>
InspectorMemberActionsMenuItemsGenerationEvent
Implements
Inherited Members

Properties

BlendshapeIndex

Gets the index of the Target in the SkinnedMesh's blend shapes.

public int? BlendshapeIndex { get; }

Property Value

int?

The blend shape index if the Target is on a FrooxEngine.SkinnedMeshRenderer; otherwise null.

ButtonEventData

Gets the data for the button press that triggered opening the ContextMenu.

[Obsolete("Not available anymore.")]
public ButtonEventData ButtonEventData { get; }

Property Value

ButtonEventData

HasSkinnedMesh

Gets whether the Target is on a FrooxEngine.SkinnedMeshRenderer.

[MemberNotNullWhen(true, new string[] { "SkinnedMesh", "BlendshapeIndex" })]
public bool HasSkinnedMesh { get; }

Property Value

bool

true if SkinnedMesh and BlendShapeIndex are not null; otherwise, false.

MemberActions

Gets the FrooxEngine.InspectorMemberActions that the ContextMenu is being summoned by.

[Obsolete("Use Summoner instead.")]
public InspectorMemberActions MemberActions { get; }

Property Value

InspectorMemberActions

SkinnedMesh

Gets the FrooxEngine.SkinnedMeshRenderer that the Target is a blend shape for.

public SkinnedMeshRenderer? SkinnedMesh { get; }

Property Value

SkinnedMeshRenderer

Slot

Gets the Target's parent FrooxEngine.Slot.

public Slot? Slot { get; }

Property Value

Slot

Remarks

This may be null if Target's parent is a FrooxEngine.UserComponent.

Target

Gets the target FrooxEngine.ISyncMember of the FrooxEngine.InspectorMemberActions that the ContextMenu was opened for.

public ISyncMember Target { get; }

Property Value

ISyncMember

User

Gets the Target's Slot's ActiveUser, or its parent FrooxEngine.User if it belongs to a FrooxEngine.UserComponent.

public User? User { get; }

Property Value

User

Remarks

When the Target's parent is a FrooxEngine.Component and its Slot does not have an ActiveUser, this will be null.