NebX-Spec.
Last updated
Last updated
Users who upload their collections according to NebX's specifications will be able to showcase them in 3D on NebX-Land. We will utilize 2D animation resources as case studies to elaborate on their attribute specifications.
This is the essential attribute keyword necessary when the resource is a solitary 2D image file. Let's use [Send it] as a pixel image for illustration.
The attributes reference table is provided below. Please review it thoroughly.
name
Yes
Resource name, which serves as the identifier for the resource.
infos
No
Description related to the resource.
src
Yes
On-chain address.
format
Yes
The file format of the original resource, supported formats include PNG, JPG, JPEG, TGA, BMP, TIFF.
model_type
Yes
Type of model the image is bound to (optional: wall, billboard, screen, standing sign...).
rect
Yes
Coordinates and dimensions of the image displayed on the model, parameters in sequence are x-coordinate, y-coordinate, width, height.
If you have multiple 2D NFTs that you want to showcase in the same model, you can choose this approach. We will use [Frogana] collection as an example to provide an in-depth explanation of the attributes associated with multiple Image Resource Preview Templates.
The attributes reference table is provided below. Please review it thoroughly.
name
Yes
Resource name, which serves as the identifier for the resource.
infos
No
Description related to the resource.
src
Yes
On-chain address.
format
Yes
Supported formats include PNG, JPG, JPEG, TGA, BMP, TIFF.
model_type
Yes
Type of model the image is bound to (optional: wall, billboard, screen, standing sign...).
rect
Yes
Coordinates and dimensions of the image displayed on the model, parameters in sequence are x-coordinate, y-coordinate, width, height.
interval
Yes
Animation playback speed.