roavatar-renderer 1.5.0 → 1.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +8 -6
- package/dist/index.js +2656 -2348
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1109,8 +1109,6 @@ export declare function dot(v0: Vec3, v1: Vec3): number;
|
|
|
1109
1109
|
|
|
1110
1110
|
export declare function download(filename: string, text: string): void;
|
|
1111
1111
|
|
|
1112
|
-
export declare const EmitterGroupDescClassTypes: string[];
|
|
1113
|
-
|
|
1114
1112
|
/**
|
|
1115
1113
|
* @category DataModel
|
|
1116
1114
|
*/
|
|
@@ -1341,6 +1339,8 @@ export declare const FLAGS: {
|
|
|
1341
1339
|
RENDERTARGET_TO_CANVASTEXTURE: boolean;
|
|
1342
1340
|
/**Amount of time thumbnail generator will wait after no assets are being loaded to resolve, should be a little time at least so particles can render */
|
|
1343
1341
|
THUMBNAIL_TIMEOUT: number;
|
|
1342
|
+
/**Always render attachments even when theyre set to not be visible */
|
|
1343
|
+
ALWAYS_SHOW_ATTACHMENTS: boolean;
|
|
1344
1344
|
/**shows ThreeJS SkeletonHelper */
|
|
1345
1345
|
SHOW_SKELETON_HELPER: boolean;
|
|
1346
1346
|
/**skeleton is updated every frame */
|
|
@@ -1986,8 +1986,6 @@ export declare function lerpCFrame(oldCFrame: CFrame, newCFrame: CFrame, easedTi
|
|
|
1986
1986
|
|
|
1987
1987
|
export declare function lerpVec3(a: Vector3, b: Vector3, t: number): Vector3;
|
|
1988
1988
|
|
|
1989
|
-
export declare const LightDescClassTypes: string[];
|
|
1990
|
-
|
|
1991
1989
|
export declare class LocalOutfit {
|
|
1992
1990
|
name: string;
|
|
1993
1991
|
id: number;
|
|
@@ -2421,8 +2419,6 @@ export declare class NumberSequenceKeypoint {
|
|
|
2421
2419
|
isSame(other: NumberSequenceKeypoint): boolean;
|
|
2422
2420
|
}
|
|
2423
2421
|
|
|
2424
|
-
export declare const ObjectDescClassTypes: string[];
|
|
2425
|
-
|
|
2426
2422
|
declare class OctreeChild<T> {
|
|
2427
2423
|
bounds: Bounds;
|
|
2428
2424
|
data: T;
|
|
@@ -2608,6 +2604,8 @@ export declare class OutfitRenderer {
|
|
|
2608
2604
|
* @param name The name of the animation, for example "idle", "run" or "emote.1234"
|
|
2609
2605
|
*/
|
|
2610
2606
|
setMainAnimation(name: string): void;
|
|
2607
|
+
/**Calls destroy on the rig and stops animating, the OutfitRenderer should not be interacted with after this */
|
|
2608
|
+
destroy(): void;
|
|
2611
2609
|
}
|
|
2612
2610
|
|
|
2613
2611
|
declare class PartCurve {
|
|
@@ -3027,6 +3025,7 @@ export declare const RegularBodyColors: string[];
|
|
|
3027
3025
|
* Abstract class used to describe all rendered instances
|
|
3028
3026
|
*/
|
|
3029
3027
|
declare class RenderDesc extends DisposableDesc {
|
|
3028
|
+
static classTypes: string[];
|
|
3030
3029
|
renderScene: RBXRendererScene;
|
|
3031
3030
|
results?: THREE.Object3D[];
|
|
3032
3031
|
instance?: Instance;
|
|
@@ -3040,6 +3039,9 @@ declare class RenderDesc extends DisposableDesc {
|
|
|
3040
3039
|
fromInstance(_child: Instance): void;
|
|
3041
3040
|
compileResults(_renderer: THREE.WebGLRenderer, _scene: THREE.Scene): Promise<THREE.Object3D[] | Response | undefined>;
|
|
3042
3041
|
updateResults(): void;
|
|
3042
|
+
static shouldRenderInstance(_instance: Instance): boolean;
|
|
3043
|
+
static register(): void;
|
|
3044
|
+
static(): typeof RenderDesc;
|
|
3043
3045
|
}
|
|
3044
3046
|
|
|
3045
3047
|
export declare function replaceBodyPart(rig: Instance, child: Instance): void;
|