pite-core 0.4.0

Node tree, handles, props and lifecycle dispatch for Pite.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// SPDX-License-Identifier: MIT OR Apache-2.0
//! Node: base class for every scene object. No transform, no props.

use crate::schema::{NodeTypeSchema, PropSchema};

pub static SCHEMA: NodeTypeSchema = NodeTypeSchema {
    type_name: "Node",
    description: "Base class for all scene objects. Does not have a 2D transform.",
    inherits: None,
    abstract_class: false,
    props: PROPS,
};

pub static PROPS: &[PropSchema] = &[];