/*! * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. */ import { Actor, GroupMask, Guid } from '..'; export interface AppearanceLike { /** * This actor's visibility preference, independent of its parent. If this property is a * GroupMask object, this property will effectively be `true` for users in at least one * of the groups, and `false` for everyone else. See [[GroupMask]]. */ enabled: boolean | GroupMask | number; /** * The ID of a previously-created [[Material]] asset. */ materialId: Guid; /** * The ID of a previously-created [[Mesh]] asset. */ meshId: Guid; } export declare class Appearance implements AppearanceLike { private actor; /** @hidden */ $DoNotObserve: string[]; private _enabled; private _enabledFor; private _materialId; private _meshId; /** * This actor's visibility preference, independent of its parent. See [[Appearance.activeAndEnabled]] for * the computed visibility state. If this property is a GroupMask object, this property will * effectively be `true` for users in at least one of the groups, and `false` for everyone else. * See [[GroupMask]]. */ get enabled(): boolean | GroupMask; set enabled(value: boolean | GroupMask); /** * [[enabled]], but forced to a [[GroupMask]]. Using this property will convert this * actor's `enabled` property to the GroupMask equivalent of its current value relative * to the current set of used groups. */ get enabledFor(): GroupMask; set enabledFor(value: GroupMask); private get enabledPacked(); private set enabledPacked(value); /** Whether this actor is visible */ get activeAndEnabled(): boolean; /** @returns A shared reference to this actor's material, or null if this actor has no material */ get material(): import("..").Material; set material(value: import("..").Material); /** @inheritdoc */ get materialId(): Guid; set materialId(value: Guid); /** @returns A shared reference to this actor's mesh, or null if this actor has no mesh */ get mesh(): import("..").Mesh; set mesh(value: import("..").Mesh); /** @inheritdoc */ get meshId(): Guid; set meshId(value: Guid); constructor(actor: Actor); copy(from: Partial): this; toJSON(): AppearanceLike; /** * Prepare outgoing messages * @hidden */ static sanitize(msg: Partial): Partial; } //# sourceMappingURL=appearance.d.ts.map