This commit is contained in:
rewin
2024-02-22 21:10:08 +03:00
parent 628dea812f
commit a5006b5da0
3 changed files with 33 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
use bevy::prelude::*;
pub struct InspectorPlugin;
impl Plugin for InspectorPlugin {
fn build(&self, app: &mut App) {
}
}
+1
View File
@@ -3,6 +3,7 @@ use bevy::prelude::*;
use self::fps::FpsCounterPlugin;
mod fps;
pub mod inspector;
pub struct UiLayerPlugin;
+23
View File
@@ -22,6 +22,29 @@ export interface ITransform {
}
export type Transform = BevyObject<"Transform", ITransform>;
export type GlobalTransform = BevyObject<"GlobalTransform", ITransform>;
export enum MeshPrimitivePrefabType {
Cube,
Plane,
Sphere,
Capsule,
Torus,
Icosphere,
}
export type MeshPrimitivePrefab = BevyObject<"MeshPrimitivePrefab", MeshPrimitivePrefabType>;
export type Color = [number, number, number, number];
export type BaseColor = BevyObject<"BaseColor", Color>;
export interface IStandartMaterial {
baseColor: BaseColor;
}
expoort type Material = BevyObject<"StandartMaterial", IMaterial>;
"#;
pub(crate) const SERIALIZER: Serializer = Serializer::new()