@itwin/core-frontend
Version:
iTwin.js frontend components
24 lines • 1.02 kB
TypeScript
/** @packageDocumentation
* @module Rendering
*/
import { Id64String } from "@itwin/core-bentley";
import { RenderClipVolume } from "../../render/RenderClipVolume";
import { RenderSchedule } from "@itwin/core-common";
/** Clip/Transform for a branch that are varied over time. */
export interface AnimationBranchState {
readonly clip?: RenderClipVolume;
readonly omit?: boolean;
}
/** @internal */
export declare function formatAnimationBranchId(modelId: Id64String, branchId: number): string;
/** Mapping from node/branch IDs to animation branch state */
export interface AnimationBranchStates {
/** Maps node Id to branch state. */
readonly branchStates: Map<string, AnimationBranchState>;
/** Ids of nodes that apply a transform. */
readonly transformNodeIds: ReadonlySet<number>;
}
export declare namespace AnimationBranchStates {
function fromScript(script: RenderSchedule.Script, time: number): AnimationBranchStates | undefined;
}
//# sourceMappingURL=AnimationBranchState.d.ts.map