ZoneInterface interface

Contract for zones.

Signature:

interface ZoneInterface extends NodeInterface 

Extends: NodeInterface

Remarks

Zones are a fundamental part of how the Core3D SDK assigns and displays textures. They descibe "printable areas" within UV space.

Note that while zones also implement NodeInterface, this contracts provides zone-specific functionality.

Properties

Property

Modifiers

Type

Description

placements

NonNullable<ZoneDataInterface['placements']>

A list of placements within the zone.

Methods

Method

Description

contains(coords)

Check whether the zone contains the provided coordinates.

intersects(node)

Check whether the zone intersects with the provided node.

Get in touch

We'd love to learn more about your vision and how we can help.

PressPrivacyTermsSupportCopyright © 2024 Core3D, Inc. All Rights Reserved.