API reference Obsidian.API.Blocks
BlockShapeHit record struct
The nearest outline box hit, including its index and the hit location relative to the block.
public readonly record struct BlockShapeHit : IEquatable<BlockShapeHit>
In Obsidian.API.
Constructors
BlockShapeHit(Vector, VectorD, BlockFace, int)
public BlockShapeHit(Vector Position, VectorD ClickedAt, BlockFace Face, int BoxIndex);The nearest outline box hit, including its index and the hit location relative to the block.
Properties
public int BoxIndex { get; init; }public VectorD ClickedAt { get; init; }public BlockFace Face { get; init; }public Vector Position { get; init; }