mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
This commit is contained in:
@@ -24,6 +24,7 @@
|
||||
|
||||
import { ccenum } from '../core';
|
||||
import spine from './lib/spine-core';
|
||||
import './lib/instantiated';
|
||||
|
||||
/**
|
||||
* @en
|
||||
|
||||
@@ -24,15 +24,13 @@
|
||||
|
||||
import { TrackEntryListeners } from './track-entry-listeners';
|
||||
import { vfmtPosUvColor4B, vfmtPosUvTwoColor4B, getAttributeStride } from '../2d/renderer/vertex-format';
|
||||
import { SPINE_WASM } from './lib/instantiated';
|
||||
|
||||
import spine from './lib/spine-core.js';
|
||||
import { SkeletonData } from './skeleton-data';
|
||||
import { warn } from '../core/platform/debug';
|
||||
import { Skeleton } from './skeleton';
|
||||
|
||||
const MaxCacheTime = 30;
|
||||
const FrameTime = 1 / 60;
|
||||
const spineTag = SPINE_WASM;
|
||||
const _useTint = true;
|
||||
const _byteStrideOneColor = getAttributeStride(vfmtPosUvColor4B);
|
||||
const _byteStrideTwoColor = getAttributeStride(vfmtPosUvTwoColor4B);
|
||||
|
||||
@@ -38,14 +38,12 @@ import { legacyCC } from '../core/global-exports';
|
||||
import { SkeletonSystem } from './skeleton-system';
|
||||
import { RenderEntity, RenderEntityType } from '../2d/renderer/render-entity';
|
||||
import { AttachUtil } from './attach-util';
|
||||
import { SPINE_WASM } from './lib/instantiated';
|
||||
import spine from './lib/spine-core.js';
|
||||
import { VertexEffectDelegate } from './vertex-effect-delegate';
|
||||
import SkeletonCache, { AnimationCache, AnimationFrame, SkeletonCacheItemInfo } from './skeleton-cache';
|
||||
import { TrackEntryListeners } from './track-entry-listeners';
|
||||
import { setPropertyEnumType } from '../core/internal-index';
|
||||
|
||||
const spineTag = SPINE_WASM;
|
||||
const CachedFrameTime = 1 / 60;
|
||||
const CUSTOM_SLOT_TEXTURE_BEGIN = 10000;
|
||||
let _slotTextureID = CUSTOM_SLOT_TEXTURE_BEGIN;
|
||||
|
||||
Reference in New Issue
Block a user