stf.image

[ Schema | Category: Data ]

Represents an encoded image.

Implementations

Blender

bpy.types.Image

Godot

Image

Unity

STF_Image Resource

Three.js

Object3D

Properties

type

required Constant: "stf.image"

format

required Type: string

The file format of the image. Well supported are png and jpeg.

data_type

optional Enum: "color" | "non_color"

Type of data the image describes.

buffer

required Type: Buffer-Ref

Buffer reference. The data of the buffer must represent an image file.

Json Example:

{
    "type": "stf.image",
    "name": "BodyBaseColor.png",
    "format": "png",
    "data_type": "color",
    "referenced_buffers": [
        "470a0380-1bac-40c3-aa1d-cac52345da58"
    ],
    "buffer": 0,
    "components": [
        "6db664cf-a4ba-4dd5-8845-477ca01f24d0"
    ]
}