接口 ClipboardWriteOptions实验性

Interface used to specify the options when a clipboard item is being written to the world

interface ClipboardWriteOptions {
    mirror?: StructureMirrorAxis;
    normalizedOrigin?: Vector3;
    offset?: Vector3;
    rotation?: StructureRotation;
}

属性

An enum which represents the axis (or combination of axis') along which the item should be mirrored

  • X
  • Z
  • XZ
normalizedOrigin?: Vector3
offset?: Vector3

A position offset which should be applied to the paste location while the clipboard item is being written

An enum representing the rotation around the Y-Axis which should be applied while the clipboard item is being written