Files
GDevelop/GDevelop.js/types/gdmodel3dobjectconfiguration.js
Florian Rival 43f5bd1c0e Allow to edit object properties, behaviors, variables and effects directly from the properties panel (#6898)
* When an object is selected (or when "Edit object" button is clicked in the properties panel after choosing an instance), the properties panel will show the properties of the object.
* This allows for fast edition of most elements of an object: appearance, properties, but also behaviors, variables and effects. Most workflow and iterations on your game should be faster, from adapting the appearance of a text to tweaking behaviors and updating the preview to check the result in realtime.
2024-09-27 10:56:39 +02:00

26 lines
902 B
JavaScript

// Automatically generated by GDevelop.js/scripts/generate-types.js
declare class gdModel3DObjectConfiguration extends gdObjectConfiguration {
constructor(): void;
addAnimation(animation: gdModel3DAnimation): void;
getAnimation(index: number): gdModel3DAnimation;
hasAnimationNamed(name: string): boolean;
getAnimationsCount(): number;
removeAnimation(index: number): void;
removeAllAnimations(): void;
hasNoAnimations(): boolean;
swapAnimations(first: number, second: number): void;
moveAnimation(oldIndex: number, newIndex: number): void;
getWidth(): number;
getHeight(): number;
getDepth(): number;
getRotationX(): number;
getRotationY(): number;
getRotationZ(): number;
getModelResourceName(): string;
getMaterialType(): string;
getOriginLocation(): string;
getCenterLocation(): string;
shouldKeepAspectRatio(): boolean;
delete(): void;
ptr: number;
};