@dcl/sdk 7.0.0-3039764556.commit-d9e186e → 7.0.0-3040253589.commit-8782388

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.
@@ -558,6 +558,12 @@ export declare type float = number;
558
558
  /** @public */
559
559
  export declare type FloatArray = number[];
560
560
 
561
+ declare const enum Font {
562
+ LiberationSans = 0,
563
+ SansSerif = 1,
564
+ UNRECOGNIZED = -1
565
+ }
566
+
561
567
  /** @public */
562
568
  export declare const GLTFShape: ComponentDefinition<ISchema<PBGLTFShape>, PBGLTFShape>;
563
569
 
@@ -2203,8 +2209,15 @@ declare interface PBTextShape {
2203
2209
  }
2204
2210
 
2205
2211
  declare interface PBUiText {
2206
- text: string;
2207
- textColor: Color3 | undefined;
2212
+ value: string;
2213
+ /** default=(1.0,1.0,1.0) */
2214
+ color?: Color3 | undefined;
2215
+ /** default='center' */
2216
+ textAlign?: TextAlign | undefined;
2217
+ /** default=0 */
2218
+ font?: Font | undefined;
2219
+ /** default=10 */
2220
+ fontSize?: number | undefined;
2208
2221
  }
2209
2222
 
2210
2223
  declare interface PBUiTransform {
@@ -2702,6 +2715,13 @@ export declare const SphereShape: ComponentDefinition<ISchema<PBSphereShape>, PB
2702
2715
  */
2703
2716
  export declare type SystemFn = (dt: number) => void;
2704
2717
 
2718
+ declare const enum TextAlign {
2719
+ Center = 0,
2720
+ Left = 1,
2721
+ Right = 2,
2722
+ UNRECOGNIZED = -1
2723
+ }
2724
+
2705
2725
  /** @public */
2706
2726
  export declare const TextShape: ComponentDefinition<ISchema<PBTextShape>, PBTextShape>;
2707
2727