rhodonite 0.5.5 → 0.5.6
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/VERSION-FILE +1 -1
- package/dist/esm/effekseer/EffekseerComponent.d.ts +9 -0
- package/dist/esm/foundation/cameras/AbstractCameraController.d.ts +4 -4
- package/dist/esm/foundation/cameras/ICameraController.d.ts +3 -3
- package/dist/esm/foundation/cameras/OrbitCameraController.d.ts +5 -7
- package/dist/esm/foundation/cameras/WalkThroughCameraController.d.ts +5 -5
- package/dist/esm/foundation/components/Animation/AnimationComponent.d.ts +14 -3
- package/dist/esm/foundation/components/BlendShape/BlendShapeComponent.d.ts +6 -0
- package/dist/esm/foundation/components/Camera/CameraComponent.d.ts +6 -0
- package/dist/esm/foundation/components/Mesh/MeshComponent.d.ts +11 -15
- package/dist/esm/foundation/components/MeshRenderer/MeshRendererComponent.d.ts +6 -0
- package/dist/esm/foundation/components/Physics/PhysicsComponent.d.ts +6 -0
- package/dist/esm/foundation/components/SceneGraph/ISceneGraphEntity.d.ts +3 -0
- package/dist/esm/foundation/components/SceneGraph/SceneGraphComponent.d.ts +27 -14
- package/dist/esm/foundation/components/Skeletal/SkeletalComponent.d.ts +6 -0
- package/dist/esm/foundation/components/Transform/ITransfomEntity.d.ts +13 -0
- package/dist/esm/foundation/components/Transform/TransformComponent.d.ts +6 -0
- package/dist/esm/foundation/core/Component.d.ts +27 -8
- package/dist/esm/foundation/core/ComponentRepository.d.ts +8 -2
- package/dist/esm/foundation/core/Config.d.ts +1 -0
- package/dist/esm/foundation/core/Entity.d.ts +18 -6
- package/dist/esm/foundation/core/EntityRepository.d.ts +4 -2
- package/dist/esm/foundation/core/MemoryManager.d.ts +1 -0
- package/dist/esm/foundation/definitions/ShaderSemantics.d.ts +5 -5
- package/dist/esm/foundation/exporter/Gltf2Exporter.d.ts +6 -4
- package/dist/esm/foundation/exporter/Gltf2ExporterEffekseer.d.ts +2 -2
- package/dist/esm/foundation/geometry/Mesh.d.ts +3 -10
- package/dist/esm/foundation/geometry/Primitive.d.ts +7 -11
- package/dist/esm/foundation/geometry/shapes/Cylinder.d.ts +22 -0
- package/dist/esm/foundation/geometry/types/GeometryTypes.d.ts +29 -0
- package/dist/esm/foundation/gizmos/AABBGizmo.d.ts +2 -2
- package/dist/esm/foundation/gizmos/Gizmo.d.ts +4 -3
- package/dist/esm/foundation/gizmos/ScaleGizmo.d.ts +72 -0
- package/dist/esm/foundation/gizmos/TranslationGizmo.d.ts +72 -0
- package/dist/esm/foundation/helpers/EntityHelper.d.ts +8 -8
- package/dist/esm/foundation/helpers/ExpressionHelper.d.ts +0 -0
- package/dist/esm/foundation/helpers/MaterialHelper.d.ts +2 -2
- package/dist/esm/foundation/helpers/MeshHelper.d.ts +11 -1
- package/dist/esm/foundation/importer/AnimationAssigner.d.ts +2 -2
- package/dist/esm/foundation/importer/DrcPointCloudImporter.d.ts +2 -2
- package/dist/esm/foundation/importer/Gltf2Importer.d.ts +2 -2
- package/dist/esm/foundation/importer/GltfImporter.d.ts +3 -3
- package/dist/esm/foundation/importer/ILoaderExtension.d.ts +2 -2
- package/dist/esm/foundation/importer/ModelConverter.d.ts +6 -6
- package/dist/esm/foundation/importer/RhodoniteImportExtension.d.ts +2 -2
- package/dist/esm/foundation/importer/VRMImporter.d.ts +2 -2
- package/dist/esm/foundation/materials/core/Material.d.ts +57 -56
- package/dist/esm/foundation/math/ColorRgba.d.ts +5 -0
- package/dist/esm/foundation/math/raw/raw_extension.d.ts +8 -0
- package/dist/esm/foundation/memory/Accessor.d.ts +2 -0
- package/dist/esm/foundation/misc/Is.d.ts +1 -1
- package/dist/esm/foundation/misc/MiscUtil.d.ts +5 -1
- package/dist/esm/foundation/misc/RnPromise.d.ts +1 -1
- package/dist/esm/foundation/renderer/Expression.d.ts +2 -0
- package/dist/esm/foundation/renderer/Frame.d.ts +34 -0
- package/dist/esm/foundation/renderer/RenderPass.d.ts +7 -3
- package/dist/esm/foundation/system/InputManager.d.ts +77 -0
- package/dist/esm/foundation/system/System.d.ts +8 -1
- package/dist/esm/index.d.ts +16 -4
- package/dist/esm/index.js +3585 -1193
- package/dist/esm/samples/import.d.ts +1 -1
- package/dist/esm/sparkgear/SparkGearComponent.d.ts +6 -0
- package/dist/esm/src/foundation/cameras/AbstractCameraController.d.ts +4 -4
- package/dist/esm/src/foundation/cameras/ICameraController.d.ts +3 -3
- package/dist/esm/src/foundation/cameras/OrbitCameraController.d.ts +4 -4
- package/dist/esm/src/foundation/cameras/WalkThroughCameraController.d.ts +4 -4
- package/dist/esm/src/foundation/helpers/EntityHelper.d.ts +6 -6
- package/dist/esm/src/foundation/importer/GltfImporter.d.ts +3 -3
- package/dist/esm/src/foundation/importer/ILoaderExtension.d.ts +2 -2
- package/dist/esm/src/foundation/importer/ModelConverter.d.ts +6 -6
- package/dist/esm/src/foundation/importer/VRMImporter.d.ts +2 -2
- package/dist/esm/src/foundation/renderer/RenderPass.d.ts +2 -2
- package/dist/esm/src/index.d.ts +1 -1
- package/dist/esm/src/types/RnM2.d.ts +2 -2
- package/dist/esm/src/xr/WebXRInput.d.ts +1 -1
- package/dist/esm/src/xr/WebXRSystem.d.ts +2 -2
- package/dist/esm/types/AnimationTypes.d.ts +4 -4
- package/dist/esm/types/RnM2.d.ts +2 -3
- package/dist/esm/types/glTF2.d.ts +0 -1
- package/dist/esm/types/glTF2ForOutput.d.ts +5 -2
- package/dist/esm/webgl/WebGLStrategyCommonMethod.d.ts +2 -4
- package/dist/esm/webgl/WebGLStrategyFastest.d.ts +5 -0
- package/dist/esm/webgl/WebGLStrategyUniform.d.ts +2 -0
- package/dist/esm/webgl/main.d.ts +2 -0
- package/dist/esm/xr/WebVRSystem.d.ts +1 -0
- package/dist/esm/xr/WebXRInput.d.ts +1 -1
- package/dist/esm/xr/WebXRSystem.d.ts +2 -2
- package/package.json +3 -3
package/VERSION-FILE
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
v0.5.
|
|
1
|
+
v0.5.6-0-gff9800bd
|
|
2
2
|
master
|
|
@@ -10,6 +10,9 @@ import { IVector3 } from '../foundation/math/IVector';
|
|
|
10
10
|
import type { Unzip } from 'zlib';
|
|
11
11
|
import { IEntity } from '../foundation/core/Entity';
|
|
12
12
|
export default class EffekseerComponent extends Component {
|
|
13
|
+
static readonly ANIMATION_EVENT_PLAY = 0;
|
|
14
|
+
static readonly ANIMATION_EVENT_PAUSE = 1;
|
|
15
|
+
static readonly ANIMATION_EVENT_END = 2;
|
|
13
16
|
static Unzip?: Unzip;
|
|
14
17
|
uri?: string;
|
|
15
18
|
arrayBuffer?: ArrayBuffer;
|
|
@@ -53,6 +56,12 @@ export default class EffekseerComponent extends Component {
|
|
|
53
56
|
$load(): void;
|
|
54
57
|
$logic(): void;
|
|
55
58
|
$render(): void;
|
|
59
|
+
/**
|
|
60
|
+
* @override
|
|
61
|
+
* Add this component to the entity
|
|
62
|
+
* @param base the target entity
|
|
63
|
+
* @param _componentClass the component class to add
|
|
64
|
+
*/
|
|
56
65
|
addThisComponentToEntity<EntityBase extends IEntity, SomeComponentClass extends typeof Component>(base: EntityBase, _componentClass: SomeComponentClass): (SomeComponentClass extends typeof import("../sparkgear/SparkGearComponent").default ? import("../sparkgear/SparkGearComponent").ISparkGearEntityMethods : Exclude<SomeComponentClass extends typeof EffekseerComponent ? IEffekseerEntityMethods : Exclude<SomeComponentClass extends typeof import("../foundation/components/Physics/PhysicsComponent").default ? import("../foundation/components/Physics/IPhysicsEntity").IPhysicsEntityMethods : Exclude<SomeComponentClass extends typeof import("../foundation/components/BlendShape/BlendShapeComponent").default ? import("../foundation/components/BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods : Exclude<SomeComponentClass extends typeof import("../foundation/components/Skeletal/SkeletalComponent").default ? import("../foundation/components/Skeletal/ISkeletalEntity").ISkeletalEntityMethods : Exclude<SomeComponentClass extends typeof import("../foundation/components/Light/LightComponent").default ? import("../foundation/components/Light/ILightEntity").ILightEntityMethods : Exclude<SomeComponentClass extends typeof CameraComponent ? import("../foundation/components/Camera/ICameraEntity").ICameraEntityMethods : Exclude<SomeComponentClass extends typeof import("../foundation/components/CameraController/CameraControllerComponent").default ? import("../foundation/components/CameraController/ICameraControllerEntity").ICameraControllerEntityMethods : Exclude<SomeComponentClass extends typeof import("../foundation/components/MeshRenderer/MeshRendererComponent").default ? import("../foundation/components/MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods : Exclude<SomeComponentClass extends typeof import("../foundation/components/Mesh/MeshComponent").default ? import("../foundation/components/Mesh/IMeshEntity").IMeshEntityMethods : Exclude<SomeComponentClass extends typeof SceneGraphComponent ? import("../foundation/components/SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods : Exclude<SomeComponentClass extends typeof TransformComponent ? import("../foundation/components/Transform/ITransfomEntity").ITransformEntityMethods : Exclude<SomeComponentClass extends typeof import("../foundation/components/Animation/AnimationComponent").default ? import("../foundation/components/Animation/IAnimationEntity").IAnimationEntityMethods : import("../foundation/components/Transform/ITransfomEntity").ITransformEntityMethods | import("../foundation/components/SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods | import("../foundation/components/Mesh/IMeshEntity").IMeshEntityMethods | import("../foundation/components/MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods | import("../foundation/components/Camera/ICameraEntity").ICameraEntityMethods | import("../foundation/components/CameraController/ICameraControllerEntity").ICameraControllerEntityMethods | import("../foundation/components/Light/ILightEntity").ILightEntityMethods | import("../foundation/components/Skeletal/ISkeletalEntity").ISkeletalEntityMethods | import("../foundation/components/BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods | import("../foundation/components/Physics/IPhysicsEntity").IPhysicsEntityMethods | IEffekseerEntityMethods | import("../sparkgear/SparkGearComponent").ISparkGearEntityMethods, import("../foundation/components/Transform/ITransfomEntity").ITransformEntityMethods>, import("../foundation/components/SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods>, import("../foundation/components/Mesh/IMeshEntity").IMeshEntityMethods>, import("../foundation/components/MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods>, import("../foundation/components/CameraController/ICameraControllerEntity").ICameraControllerEntityMethods>, import("../foundation/components/Camera/ICameraEntity").ICameraEntityMethods>, import("../foundation/components/Light/ILightEntity").ILightEntityMethods>, import("../foundation/components/Skeletal/ISkeletalEntity").ISkeletalEntityMethods>, import("../foundation/components/BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods>, import("../foundation/components/Physics/IPhysicsEntity").IPhysicsEntityMethods>, IEffekseerEntityMethods>, import("../sparkgear/SparkGearComponent").ISparkGearEntityMethods>) & EntityBase;
|
|
57
66
|
}
|
|
58
67
|
export interface IEffekseerEntityMethods {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import CameraComponent from '../components/Camera/CameraComponent';
|
|
2
|
-
import {
|
|
2
|
+
import { ISceneGraphEntity } from '../helpers/EntityHelper';
|
|
3
3
|
import Vector3 from '../math/Vector3';
|
|
4
4
|
export default abstract class AbstractCameraController {
|
|
5
5
|
zNearLimitFactor: number;
|
|
6
6
|
zFarScalingFactor: number;
|
|
7
7
|
autoCalculateZNearAndZFar: boolean;
|
|
8
|
-
protected abstract __targetEntity?:
|
|
8
|
+
protected abstract __targetEntity?: ISceneGraphEntity;
|
|
9
9
|
constructor();
|
|
10
10
|
protected _calcZNearInner(camera: CameraComponent, eyePosition: Vector3, eyeDirection: Vector3): void;
|
|
11
11
|
protected _calcZFarInner(camera: CameraComponent): void;
|
|
12
|
-
abstract setTarget(targetEntity:
|
|
13
|
-
abstract getTarget():
|
|
12
|
+
abstract setTarget(targetEntity: ISceneGraphEntity): void;
|
|
13
|
+
abstract getTarget(): ISceneGraphEntity | undefined;
|
|
14
14
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import CameraComponent from '../components/Camera/CameraComponent';
|
|
2
|
-
import {
|
|
2
|
+
import { ISceneGraphEntity } from '../helpers/EntityHelper';
|
|
3
3
|
export default interface ICameraController {
|
|
4
4
|
logic(cameraComponent: CameraComponent): void;
|
|
5
5
|
registerEventListeners(eventTargetDom: any): void;
|
|
6
6
|
unregisterEventListeners(): void;
|
|
7
|
-
setTarget(targetEntity:
|
|
8
|
-
getTarget():
|
|
7
|
+
setTarget(targetEntity: ISceneGraphEntity): void;
|
|
8
|
+
getTarget(): ISceneGraphEntity | undefined;
|
|
9
9
|
}
|
|
@@ -2,9 +2,8 @@ import CameraComponent from '../components/Camera/CameraComponent';
|
|
|
2
2
|
import { Size } from '../../types/CommonTypes';
|
|
3
3
|
import ICameraController from './ICameraController';
|
|
4
4
|
import AbstractCameraController from './AbstractCameraController';
|
|
5
|
-
import {
|
|
5
|
+
import { ISceneGraphEntity } from '../helpers/EntityHelper';
|
|
6
6
|
export default class OrbitCameraController extends AbstractCameraController implements ICameraController {
|
|
7
|
-
eventTargetDom?: HTMLElement;
|
|
8
7
|
dollyScale: number;
|
|
9
8
|
scaleOfLengthCenterToCamera: number;
|
|
10
9
|
moveSpeed: number;
|
|
@@ -35,7 +34,7 @@ export default class OrbitCameraController extends AbstractCameraController impl
|
|
|
35
34
|
private __eyeVec;
|
|
36
35
|
private __centerVec;
|
|
37
36
|
private __upVec;
|
|
38
|
-
protected __targetEntity?:
|
|
37
|
+
protected __targetEntity?: ISceneGraphEntity;
|
|
39
38
|
private __scaleOfZNearAndZFar;
|
|
40
39
|
private __doPreventDefault;
|
|
41
40
|
private __isPressingShift;
|
|
@@ -61,7 +60,6 @@ export default class OrbitCameraController extends AbstractCameraController impl
|
|
|
61
60
|
private __releaseShiftFunc;
|
|
62
61
|
private __pressCtrlFunc;
|
|
63
62
|
private __releaseCtrlFunc;
|
|
64
|
-
private _eventTargetDom?;
|
|
65
63
|
private __resetDollyAndPositionFunc;
|
|
66
64
|
private static readonly __tmp_up;
|
|
67
65
|
private static __tmpVec3_0;
|
|
@@ -74,8 +72,8 @@ export default class OrbitCameraController extends AbstractCameraController impl
|
|
|
74
72
|
private static __tmp_rotateM_Revert;
|
|
75
73
|
private static __tmpMat44_0;
|
|
76
74
|
constructor();
|
|
77
|
-
setTarget(targetEntity:
|
|
78
|
-
getTarget():
|
|
75
|
+
setTarget(targetEntity: ISceneGraphEntity): void;
|
|
76
|
+
getTarget(): ISceneGraphEntity | undefined;
|
|
79
77
|
set doPreventDefault(flag: boolean);
|
|
80
78
|
get doPreventDefault(): boolean;
|
|
81
79
|
__mouseDown(e: MouseEvent): void;
|
|
@@ -107,7 +105,7 @@ export default class OrbitCameraController extends AbstractCameraController impl
|
|
|
107
105
|
__releaseShift(e: KeyboardEvent): void;
|
|
108
106
|
__pressCtrl(e: KeyboardEvent): void;
|
|
109
107
|
__releaseCtrl(e: KeyboardEvent): void;
|
|
110
|
-
registerEventListeners(
|
|
108
|
+
registerEventListeners(): void;
|
|
111
109
|
unregisterEventListeners(): void;
|
|
112
110
|
__getFovyFromCamera(camera: CameraComponent): number;
|
|
113
111
|
logic(cameraComponent: CameraComponent): void;
|
|
@@ -2,7 +2,7 @@ import ICameraController from './ICameraController';
|
|
|
2
2
|
import MutableVector3 from '../math/MutableVector3';
|
|
3
3
|
import CameraComponent from '../components/Camera/CameraComponent';
|
|
4
4
|
import AbstractCameraController from './AbstractCameraController';
|
|
5
|
-
import {
|
|
5
|
+
import { ISceneGraphEntity } from '../helpers/EntityHelper';
|
|
6
6
|
export default class WalkThroughCameraController extends AbstractCameraController implements ICameraController {
|
|
7
7
|
private _horizontalSpeed;
|
|
8
8
|
private _verticalSpeed;
|
|
@@ -37,7 +37,7 @@ export default class WalkThroughCameraController extends AbstractCameraControlle
|
|
|
37
37
|
private _mouseWheelBind;
|
|
38
38
|
private _eventTargetDom?;
|
|
39
39
|
private _needInitialize;
|
|
40
|
-
protected __targetEntity?:
|
|
40
|
+
protected __targetEntity?: ISceneGraphEntity;
|
|
41
41
|
private static __tmpInvMat;
|
|
42
42
|
private static __tmpRotateMat;
|
|
43
43
|
private static __tmp_Vec3_0;
|
|
@@ -51,7 +51,7 @@ export default class WalkThroughCameraController extends AbstractCameraControlle
|
|
|
51
51
|
inverseVerticalRotating: boolean;
|
|
52
52
|
inverseHorizontalRotating: boolean;
|
|
53
53
|
});
|
|
54
|
-
registerEventListeners(eventTargetDom?:
|
|
54
|
+
registerEventListeners(eventTargetDom?: Document): void;
|
|
55
55
|
unregisterEventListeners(): void;
|
|
56
56
|
_mouseWheel(e: WheelEvent): void;
|
|
57
57
|
_mouseDown(evt: MouseEvent): boolean;
|
|
@@ -68,8 +68,8 @@ export default class WalkThroughCameraController extends AbstractCameraControlle
|
|
|
68
68
|
get verticalSpeed(): number;
|
|
69
69
|
set mouseWheelSpeed(value: number);
|
|
70
70
|
get mouseWheelSpeed(): number;
|
|
71
|
-
setTarget(targetEntity:
|
|
72
|
-
getTarget():
|
|
71
|
+
setTarget(targetEntity: ISceneGraphEntity): void;
|
|
72
|
+
getTarget(): ISceneGraphEntity | undefined;
|
|
73
73
|
get allInfo(): any;
|
|
74
74
|
set allInfo(arg: any);
|
|
75
75
|
}
|
|
@@ -3,7 +3,7 @@ import EntityRepository from '../../core/EntityRepository';
|
|
|
3
3
|
import { AnimationInterpolationEnum } from '../../definitions/AnimationInterpolation';
|
|
4
4
|
import TransformComponent from '../Transform/TransformComponent';
|
|
5
5
|
import MeshComponent from '../Mesh/MeshComponent';
|
|
6
|
-
import { ComponentTID, ComponentSID, EntityUID, VectorComponentN } from '../../../types/CommonTypes';
|
|
6
|
+
import { ComponentTID, ComponentSID, EntityUID, Index, VectorComponentN } from '../../../types/CommonTypes';
|
|
7
7
|
import { AnimationPathName, AnimationTrack, AnimationComponentEventType, AnimationInfo, AnimationTrackName } from '../../../types/AnimationTypes';
|
|
8
8
|
import { EventHandler } from '../../system/EventPubSub';
|
|
9
9
|
import { IAnimationEntity } from '../../helpers/EntityHelper';
|
|
@@ -38,7 +38,7 @@ export default class AnimationComponent extends Component {
|
|
|
38
38
|
*/
|
|
39
39
|
static cubicSpline(p0: Array<number>, p1: Array<number>, m0: Array<number>, m1: Array<number>, t: number): Array<number>;
|
|
40
40
|
static binarySearch(inputArray: Float32Array, currentTime: number): number;
|
|
41
|
-
static interpolationSearch(inputArray: Float32Array, currentTime: number): number;
|
|
41
|
+
static interpolationSearch(inputArray: Float32Array | number[], currentTime: number): number;
|
|
42
42
|
static bruteForceSearch(inputArray: Float32Array, currentTime: number): number;
|
|
43
43
|
private restoreDefaultValues;
|
|
44
44
|
private backupDefaultValues;
|
|
@@ -46,7 +46,8 @@ export default class AnimationComponent extends Component {
|
|
|
46
46
|
setAnimationToRest(): void;
|
|
47
47
|
static setAnimatingForAll(flg: boolean): void;
|
|
48
48
|
static setActiveAnimationForAll(animationName: AnimationTrackName): void;
|
|
49
|
-
|
|
49
|
+
setActiveAnimationTrack(animationName: AnimationTrackName): boolean;
|
|
50
|
+
getActiveAnimationTrack(): string | undefined;
|
|
50
51
|
setAnimation(trackName: AnimationTrackName, pathName: AnimationPathName, inputArray: Float32Array, outputArray: Float32Array, outputComponentN: VectorComponentN, interpolation: AnimationInterpolationEnum, makeThisActiveAnimation?: boolean): void;
|
|
51
52
|
getStartInputValueOfAnimation(animationTrackName?: string): number;
|
|
52
53
|
getEndInputValueOfAnimation(animationTrackName?: string): number;
|
|
@@ -85,5 +86,15 @@ export default class AnimationComponent extends Component {
|
|
|
85
86
|
* @returns the entity which has this component
|
|
86
87
|
*/
|
|
87
88
|
get entity(): IAnimationEntity;
|
|
89
|
+
/**
|
|
90
|
+
* @override
|
|
91
|
+
* Add this component to the entity
|
|
92
|
+
* @param base the target entity
|
|
93
|
+
* @param _componentClass the component class to add
|
|
94
|
+
*/
|
|
88
95
|
addThisComponentToEntity<EntityBase extends IEntity, SomeComponentClass extends typeof Component>(base: EntityBase, _componentClass: SomeComponentClass): (SomeComponentClass extends typeof import("../../../sparkgear/SparkGearComponent").default ? import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods : Exclude<SomeComponentClass extends typeof import("../../../effekseer/EffekseerComponent").default ? import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods : Exclude<SomeComponentClass extends typeof import("../Physics/PhysicsComponent").default ? import("../Physics/IPhysicsEntity").IPhysicsEntityMethods : Exclude<SomeComponentClass extends typeof import("../BlendShape/BlendShapeComponent").default ? import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods : Exclude<SomeComponentClass extends typeof import("../Skeletal/SkeletalComponent").default ? import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods : Exclude<SomeComponentClass extends typeof import("../Light/LightComponent").default ? import("../Light/ILightEntity").ILightEntityMethods : Exclude<SomeComponentClass extends typeof import("../Camera/CameraComponent").default ? import("../Camera/ICameraEntity").ICameraEntityMethods : Exclude<SomeComponentClass extends typeof import("../CameraController/CameraControllerComponent").default ? import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods : Exclude<SomeComponentClass extends typeof import("../MeshRenderer/MeshRendererComponent").default ? import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods : Exclude<SomeComponentClass extends typeof MeshComponent ? import("../Mesh/IMeshEntity").IMeshEntityMethods : Exclude<SomeComponentClass extends typeof import("../SceneGraph/SceneGraphComponent").default ? import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods : Exclude<SomeComponentClass extends typeof TransformComponent ? import("../Transform/ITransfomEntity").ITransformEntityMethods : Exclude<SomeComponentClass extends typeof AnimationComponent ? import("./IAnimationEntity").IAnimationEntityMethods : import("../Transform/ITransfomEntity").ITransformEntityMethods | import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods | import("../Mesh/IMeshEntity").IMeshEntityMethods | import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods | import("../Camera/ICameraEntity").ICameraEntityMethods | import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods | import("../Light/ILightEntity").ILightEntityMethods | import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods | import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods | import("../Physics/IPhysicsEntity").IPhysicsEntityMethods | import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods | import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods, import("../Transform/ITransfomEntity").ITransformEntityMethods>, import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods>, import("../Mesh/IMeshEntity").IMeshEntityMethods>, import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods>, import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods>, import("../Camera/ICameraEntity").ICameraEntityMethods>, import("../Light/ILightEntity").ILightEntityMethods>, import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods>, import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods>, import("../Physics/IPhysicsEntity").IPhysicsEntityMethods>, import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods>, import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods>) & EntityBase;
|
|
96
|
+
addKeyFrame(trackName: AnimationTrackName, pathName: AnimationPathName, frameToInsert: Index, fps: number): boolean;
|
|
97
|
+
addKeyFrameWithValue(trackName: AnimationTrackName, pathName: AnimationPathName, frameToInsert: Index, output: Array<number>, fps: number): boolean;
|
|
98
|
+
deleteKeysAtFrame(trackName: AnimationTrackName, pathName: AnimationPathName, frameToDelete: Index, fps: number): boolean;
|
|
99
|
+
hasKeyFramesAtFrame(trackName: AnimationTrackName, pathName: AnimationPathName, frame: Index, fps: number): boolean;
|
|
89
100
|
}
|
|
@@ -12,5 +12,11 @@ export default class BlendShapeComponent extends Component {
|
|
|
12
12
|
set targetNames(names: string[]);
|
|
13
13
|
get targetNames(): string[];
|
|
14
14
|
$logic(): void;
|
|
15
|
+
/**
|
|
16
|
+
* @override
|
|
17
|
+
* Add this component to the entity
|
|
18
|
+
* @param base the target entity
|
|
19
|
+
* @param _componentClass the component class to add
|
|
20
|
+
*/
|
|
15
21
|
addThisComponentToEntity<EntityBase extends IEntity, SomeComponentClass extends typeof Component>(base: EntityBase, _componentClass: SomeComponentClass): (SomeComponentClass extends typeof import("../../../sparkgear/SparkGearComponent").default ? import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods : Exclude<SomeComponentClass extends typeof import("../../../effekseer/EffekseerComponent").default ? import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods : Exclude<SomeComponentClass extends typeof import("../Physics/PhysicsComponent").default ? import("../Physics/IPhysicsEntity").IPhysicsEntityMethods : Exclude<SomeComponentClass extends typeof BlendShapeComponent ? import("./IBlendShapeEntity").IBlendShapeEntityMethods : Exclude<SomeComponentClass extends typeof import("../Skeletal/SkeletalComponent").default ? import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods : Exclude<SomeComponentClass extends typeof import("../Light/LightComponent").default ? import("../Light/ILightEntity").ILightEntityMethods : Exclude<SomeComponentClass extends typeof import("../Camera/CameraComponent").default ? import("../Camera/ICameraEntity").ICameraEntityMethods : Exclude<SomeComponentClass extends typeof import("../CameraController/CameraControllerComponent").default ? import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods : Exclude<SomeComponentClass extends typeof import("../MeshRenderer/MeshRendererComponent").default ? import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods : Exclude<SomeComponentClass extends typeof import("../Mesh/MeshComponent").default ? import("../Mesh/IMeshEntity").IMeshEntityMethods : Exclude<SomeComponentClass extends typeof import("../SceneGraph/SceneGraphComponent").default ? import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods : Exclude<SomeComponentClass extends typeof import("../Transform/TransformComponent").default ? import("../Transform/ITransfomEntity").ITransformEntityMethods : Exclude<SomeComponentClass extends typeof import("../Animation/AnimationComponent").default ? import("../Animation/IAnimationEntity").IAnimationEntityMethods : import("../Transform/ITransfomEntity").ITransformEntityMethods | import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods | import("../Mesh/IMeshEntity").IMeshEntityMethods | import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods | import("../Camera/ICameraEntity").ICameraEntityMethods | import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods | import("../Light/ILightEntity").ILightEntityMethods | import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods | import("./IBlendShapeEntity").IBlendShapeEntityMethods | import("../Physics/IPhysicsEntity").IPhysicsEntityMethods | import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods | import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods, import("../Transform/ITransfomEntity").ITransformEntityMethods>, import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods>, import("../Mesh/IMeshEntity").IMeshEntityMethods>, import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods>, import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods>, import("../Camera/ICameraEntity").ICameraEntityMethods>, import("../Light/ILightEntity").ILightEntityMethods>, import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods>, import("./IBlendShapeEntity").IBlendShapeEntityMethods>, import("../Physics/IPhysicsEntity").IPhysicsEntityMethods>, import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods>, import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods>) & EntityBase;
|
|
16
22
|
}
|
|
@@ -122,5 +122,11 @@ export default class CameraComponent extends Component {
|
|
|
122
122
|
* @returns the entity which has this component
|
|
123
123
|
*/
|
|
124
124
|
get entity(): ICameraEntity;
|
|
125
|
+
/**
|
|
126
|
+
* @override
|
|
127
|
+
* Add this component to the entity
|
|
128
|
+
* @param base the target entity
|
|
129
|
+
* @param _componentClass the component class to add
|
|
130
|
+
*/
|
|
125
131
|
addThisComponentToEntity<EntityBaseClass extends IEntity, SomeComponentClass extends typeof Component>(base: EntityBaseClass, _componentClass: SomeComponentClass): (SomeComponentClass extends typeof import("../../../sparkgear/SparkGearComponent").default ? import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods : Exclude<SomeComponentClass extends typeof import("../../../effekseer/EffekseerComponent").default ? import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods : Exclude<SomeComponentClass extends typeof import("../Physics/PhysicsComponent").default ? import("../Physics/IPhysicsEntity").IPhysicsEntityMethods : Exclude<SomeComponentClass extends typeof import("../BlendShape/BlendShapeComponent").default ? import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods : Exclude<SomeComponentClass extends typeof import("../Skeletal/SkeletalComponent").default ? import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods : Exclude<SomeComponentClass extends typeof import("../Light/LightComponent").default ? import("../Light/ILightEntity").ILightEntityMethods : Exclude<SomeComponentClass extends typeof CameraComponent ? import("./ICameraEntity").ICameraEntityMethods : Exclude<SomeComponentClass extends typeof CameraControllerComponent ? import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods : Exclude<SomeComponentClass extends typeof import("../MeshRenderer/MeshRendererComponent").default ? import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods : Exclude<SomeComponentClass extends typeof import("../Mesh/MeshComponent").default ? import("../Mesh/IMeshEntity").IMeshEntityMethods : Exclude<SomeComponentClass extends typeof SceneGraphComponent ? import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods : Exclude<SomeComponentClass extends typeof import("../Transform/TransformComponent").default ? import("../Transform/ITransfomEntity").ITransformEntityMethods : Exclude<SomeComponentClass extends typeof import("../Animation/AnimationComponent").default ? import("../Animation/IAnimationEntity").IAnimationEntityMethods : import("../Transform/ITransfomEntity").ITransformEntityMethods | import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods | import("../Mesh/IMeshEntity").IMeshEntityMethods | import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods | import("./ICameraEntity").ICameraEntityMethods | import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods | import("../Light/ILightEntity").ILightEntityMethods | import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods | import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods | import("../Physics/IPhysicsEntity").IPhysicsEntityMethods | import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods | import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods, import("../Transform/ITransfomEntity").ITransformEntityMethods>, import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods>, import("../Mesh/IMeshEntity").IMeshEntityMethods>, import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods>, import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods>, import("./ICameraEntity").ICameraEntityMethods>, import("../Light/ILightEntity").ILightEntityMethods>, import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods>, import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods>, import("../Physics/IPhysicsEntity").IPhysicsEntityMethods>, import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods>, import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods>) & EntityBaseClass;
|
|
126
132
|
}
|
|
@@ -7,10 +7,10 @@ import Mesh from '../../geometry/Mesh';
|
|
|
7
7
|
import { IEntity } from '../../core/Entity';
|
|
8
8
|
import { ComponentTID, EntityUID, ComponentSID } from '../../../types/CommonTypes';
|
|
9
9
|
import SceneGraphComponent from '../SceneGraph/SceneGraphComponent';
|
|
10
|
-
import MutableVector3 from '../../math/MutableVector3';
|
|
11
10
|
import { ProcessApproachEnum } from '../../definitions/ProcessApproach';
|
|
12
11
|
import { IMeshEntity } from '../../helpers/EntityHelper';
|
|
13
12
|
import BlendShapeComponent from '../BlendShape/BlendShapeComponent';
|
|
13
|
+
import { RaycastResultEx1 } from '../../geometry/types/GeometryTypes';
|
|
14
14
|
export default class MeshComponent extends Component {
|
|
15
15
|
private __viewDepth;
|
|
16
16
|
private __mesh?;
|
|
@@ -22,6 +22,7 @@ export default class MeshComponent extends Component {
|
|
|
22
22
|
private static __tmpVector3_2;
|
|
23
23
|
private static __returnVector3;
|
|
24
24
|
private static __tmpMatrix44_0;
|
|
25
|
+
private static __latestPrimitivePositionAccessorVersion;
|
|
25
26
|
constructor(entityUid: EntityUID, componentSid: ComponentSID, entityRepository: EntityRepository);
|
|
26
27
|
static get componentTID(): ComponentTID;
|
|
27
28
|
setMesh(mesh: Mesh): void;
|
|
@@ -31,20 +32,9 @@ export default class MeshComponent extends Component {
|
|
|
31
32
|
calcViewDepth(cameraComponent: CameraComponent): number;
|
|
32
33
|
get viewDepth(): number;
|
|
33
34
|
static alertNoMeshSet(meshComponent: MeshComponent): void;
|
|
34
|
-
castRay(srcPointInWorld: Vector3, directionInWorld: Vector3, dotThreshold?: number):
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} | {
|
|
38
|
-
t: number;
|
|
39
|
-
intersectedPositionInWorld: undefined;
|
|
40
|
-
};
|
|
41
|
-
castRayFromScreen(x: number, y: number, camera: CameraComponent, viewport: Vector4, dotThreshold?: number): {
|
|
42
|
-
t: number;
|
|
43
|
-
intersectedPositionInWorld: MutableVector3 | null;
|
|
44
|
-
} | {
|
|
45
|
-
t: number;
|
|
46
|
-
intersectedPositionInWorld: undefined;
|
|
47
|
-
};
|
|
35
|
+
castRay(srcPointInWorld: Vector3, directionInWorld: Vector3, dotThreshold?: number): RaycastResultEx1;
|
|
36
|
+
castRayFromScreenInLocal(x: number, y: number, camera: CameraComponent, viewport: Vector4, dotThreshold?: number): RaycastResultEx1;
|
|
37
|
+
castRayFromScreenInWorld(x: number, y: number, camera: CameraComponent, viewport: Vector4, dotThreshold?: number): RaycastResultEx1;
|
|
48
38
|
$create(): void;
|
|
49
39
|
static common_$load({ processApproach, }: {
|
|
50
40
|
processApproach: ProcessApproachEnum;
|
|
@@ -56,5 +46,11 @@ export default class MeshComponent extends Component {
|
|
|
56
46
|
* @returns the entity which has this component
|
|
57
47
|
*/
|
|
58
48
|
get entity(): IMeshEntity;
|
|
49
|
+
/**
|
|
50
|
+
* @override
|
|
51
|
+
* Add this component to the entity
|
|
52
|
+
* @param base the target entity
|
|
53
|
+
* @param _componentClass the component class to add
|
|
54
|
+
*/
|
|
59
55
|
addThisComponentToEntity<EntityBase extends IEntity, SomeComponentClass extends typeof Component>(base: EntityBase, _componentClass: SomeComponentClass): (SomeComponentClass extends typeof import("../../../sparkgear/SparkGearComponent").default ? import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods : Exclude<SomeComponentClass extends typeof import("../../../effekseer/EffekseerComponent").default ? import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods : Exclude<SomeComponentClass extends typeof import("../Physics/PhysicsComponent").default ? import("../Physics/IPhysicsEntity").IPhysicsEntityMethods : Exclude<SomeComponentClass extends typeof BlendShapeComponent ? import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods : Exclude<SomeComponentClass extends typeof import("../Skeletal/SkeletalComponent").default ? import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods : Exclude<SomeComponentClass extends typeof import("../Light/LightComponent").default ? import("../Light/ILightEntity").ILightEntityMethods : Exclude<SomeComponentClass extends typeof CameraComponent ? import("../Camera/ICameraEntity").ICameraEntityMethods : Exclude<SomeComponentClass extends typeof import("../CameraController/CameraControllerComponent").default ? import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods : Exclude<SomeComponentClass extends typeof import("../MeshRenderer/MeshRendererComponent").default ? import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods : Exclude<SomeComponentClass extends typeof MeshComponent ? import("./IMeshEntity").IMeshEntityMethods : Exclude<SomeComponentClass extends typeof SceneGraphComponent ? import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods : Exclude<SomeComponentClass extends typeof import("../Transform/TransformComponent").default ? import("../Transform/ITransfomEntity").ITransformEntityMethods : Exclude<SomeComponentClass extends typeof import("../Animation/AnimationComponent").default ? import("../Animation/IAnimationEntity").IAnimationEntityMethods : import("../Transform/ITransfomEntity").ITransformEntityMethods | import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods | import("./IMeshEntity").IMeshEntityMethods | import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods | import("../Camera/ICameraEntity").ICameraEntityMethods | import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods | import("../Light/ILightEntity").ILightEntityMethods | import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods | import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods | import("../Physics/IPhysicsEntity").IPhysicsEntityMethods | import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods | import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods, import("../Transform/ITransfomEntity").ITransformEntityMethods>, import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods>, import("./IMeshEntity").IMeshEntityMethods>, import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods>, import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods>, import("../Camera/ICameraEntity").ICameraEntityMethods>, import("../Light/ILightEntity").ILightEntityMethods>, import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods>, import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods>, import("../Physics/IPhysicsEntity").IPhysicsEntityMethods>, import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods>, import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods>) & EntityBase;
|
|
60
56
|
}
|
|
@@ -58,5 +58,11 @@ export default class MeshRendererComponent extends Component {
|
|
|
58
58
|
renderPass: RenderPass;
|
|
59
59
|
renderPassTickCount: Count;
|
|
60
60
|
}): void;
|
|
61
|
+
/**
|
|
62
|
+
* @override
|
|
63
|
+
* Add this component to the entity
|
|
64
|
+
* @param base the target entity
|
|
65
|
+
* @param _componentClass the component class to add
|
|
66
|
+
*/
|
|
61
67
|
addThisComponentToEntity<EntityBase extends IEntity, SomeComponentClass extends typeof Component>(base: EntityBase, _componentClass: SomeComponentClass): (SomeComponentClass extends typeof import("../../../sparkgear/SparkGearComponent").default ? import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods : Exclude<SomeComponentClass extends typeof import("../../../effekseer/EffekseerComponent").default ? import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods : Exclude<SomeComponentClass extends typeof import("../Physics/PhysicsComponent").default ? import("../Physics/IPhysicsEntity").IPhysicsEntityMethods : Exclude<SomeComponentClass extends typeof import("../BlendShape/BlendShapeComponent").default ? import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods : Exclude<SomeComponentClass extends typeof import("../Skeletal/SkeletalComponent").default ? import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods : Exclude<SomeComponentClass extends typeof import("../Light/LightComponent").default ? import("../Light/ILightEntity").ILightEntityMethods : Exclude<SomeComponentClass extends typeof CameraComponent ? import("../Camera/ICameraEntity").ICameraEntityMethods : Exclude<SomeComponentClass extends typeof import("../CameraController/CameraControllerComponent").default ? import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods : Exclude<SomeComponentClass extends typeof MeshRendererComponent ? import("./IMeshRendererEntity").IMeshRendererEntityMethods : Exclude<SomeComponentClass extends typeof MeshComponent ? import("../Mesh/IMeshEntity").IMeshEntityMethods : Exclude<SomeComponentClass extends typeof SceneGraphComponent ? import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods : Exclude<SomeComponentClass extends typeof import("../Transform/TransformComponent").default ? import("../Transform/ITransfomEntity").ITransformEntityMethods : Exclude<SomeComponentClass extends typeof import("../Animation/AnimationComponent").default ? import("../Animation/IAnimationEntity").IAnimationEntityMethods : import("../Transform/ITransfomEntity").ITransformEntityMethods | import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods | import("../Mesh/IMeshEntity").IMeshEntityMethods | import("./IMeshRendererEntity").IMeshRendererEntityMethods | import("../Camera/ICameraEntity").ICameraEntityMethods | import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods | import("../Light/ILightEntity").ILightEntityMethods | import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods | import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods | import("../Physics/IPhysicsEntity").IPhysicsEntityMethods | import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods | import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods, import("../Transform/ITransfomEntity").ITransformEntityMethods>, import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods>, import("../Mesh/IMeshEntity").IMeshEntityMethods>, import("./IMeshRendererEntity").IMeshRendererEntityMethods>, import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods>, import("../Camera/ICameraEntity").ICameraEntityMethods>, import("../Light/ILightEntity").ILightEntityMethods>, import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods>, import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods>, import("../Physics/IPhysicsEntity").IPhysicsEntityMethods>, import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods>, import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods>) & EntityBase;
|
|
62
68
|
}
|
|
@@ -10,5 +10,11 @@ export default class PhysicsComponent extends Component {
|
|
|
10
10
|
get strategy(): PhysicsStrategy;
|
|
11
11
|
static common_$logic(): void;
|
|
12
12
|
$logic(): void;
|
|
13
|
+
/**
|
|
14
|
+
* @override
|
|
15
|
+
* Add this component to the entity
|
|
16
|
+
* @param base the target entity
|
|
17
|
+
* @param _componentClass the component class to add
|
|
18
|
+
*/
|
|
13
19
|
addThisComponentToEntity<EntityBase extends IEntity, SomeComponentClass extends typeof Component>(base: EntityBase, _componentClass: SomeComponentClass): (SomeComponentClass extends typeof import("../../../sparkgear/SparkGearComponent").default ? import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods : Exclude<SomeComponentClass extends typeof import("../../../effekseer/EffekseerComponent").default ? import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods : Exclude<SomeComponentClass extends typeof PhysicsComponent ? import("./IPhysicsEntity").IPhysicsEntityMethods : Exclude<SomeComponentClass extends typeof import("../BlendShape/BlendShapeComponent").default ? import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods : Exclude<SomeComponentClass extends typeof import("../Skeletal/SkeletalComponent").default ? import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods : Exclude<SomeComponentClass extends typeof import("../Light/LightComponent").default ? import("../Light/ILightEntity").ILightEntityMethods : Exclude<SomeComponentClass extends typeof import("../Camera/CameraComponent").default ? import("../Camera/ICameraEntity").ICameraEntityMethods : Exclude<SomeComponentClass extends typeof import("../CameraController/CameraControllerComponent").default ? import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods : Exclude<SomeComponentClass extends typeof import("../MeshRenderer/MeshRendererComponent").default ? import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods : Exclude<SomeComponentClass extends typeof import("../Mesh/MeshComponent").default ? import("../Mesh/IMeshEntity").IMeshEntityMethods : Exclude<SomeComponentClass extends typeof import("../SceneGraph/SceneGraphComponent").default ? import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods : Exclude<SomeComponentClass extends typeof import("../Transform/TransformComponent").default ? import("../Transform/ITransfomEntity").ITransformEntityMethods : Exclude<SomeComponentClass extends typeof import("../Animation/AnimationComponent").default ? import("../Animation/IAnimationEntity").IAnimationEntityMethods : import("../Transform/ITransfomEntity").ITransformEntityMethods | import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods | import("../Mesh/IMeshEntity").IMeshEntityMethods | import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods | import("../Camera/ICameraEntity").ICameraEntityMethods | import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods | import("../Light/ILightEntity").ILightEntityMethods | import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods | import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods | import("./IPhysicsEntity").IPhysicsEntityMethods | import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods | import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods, import("../Transform/ITransfomEntity").ITransformEntityMethods>, import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods>, import("../Mesh/IMeshEntity").IMeshEntityMethods>, import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods>, import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods>, import("../Camera/ICameraEntity").ICameraEntityMethods>, import("../Light/ILightEntity").ILightEntityMethods>, import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods>, import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods>, import("./IPhysicsEntity").IPhysicsEntityMethods>, import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods>, import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods>) & EntityBase;
|
|
14
20
|
}
|
|
@@ -4,13 +4,13 @@ import MutableMatrix44 from '../../math/MutableMatrix44';
|
|
|
4
4
|
import MutableMatrix33 from '../../math/MutableMatrix33';
|
|
5
5
|
import Vector3 from '../../math/Vector3';
|
|
6
6
|
import AABB from '../../math/AABB';
|
|
7
|
-
import MutableVector3 from '../../math/MutableVector3';
|
|
8
7
|
import MeshComponent from '../Mesh/MeshComponent';
|
|
9
8
|
import { ComponentTID, ComponentSID, EntityUID } from '../../../types/CommonTypes';
|
|
10
9
|
import CameraComponent from '../Camera/CameraComponent';
|
|
11
10
|
import Vector4 from '../../math/Vector4';
|
|
12
|
-
import {
|
|
11
|
+
import { ISceneGraphEntity } from '../../helpers/EntityHelper';
|
|
13
12
|
import { IEntity } from '../../core/Entity';
|
|
13
|
+
import { RaycastResultEx2 } from '../../geometry/types/GeometryTypes';
|
|
14
14
|
export default class SceneGraphComponent extends Component {
|
|
15
15
|
private __parent?;
|
|
16
16
|
private static __sceneGraphs;
|
|
@@ -29,8 +29,12 @@ export default class SceneGraphComponent extends Component {
|
|
|
29
29
|
isVisible: boolean;
|
|
30
30
|
private __aabbGizmo?;
|
|
31
31
|
private __locatorGizmo?;
|
|
32
|
+
private __translationGizmo?;
|
|
33
|
+
private __scaleGizmo?;
|
|
34
|
+
private __transformGizmoSpace;
|
|
32
35
|
private static isJointAABBShouldBeCalculated;
|
|
33
36
|
toMakeWorldMatrixTheSameAsLocalMatrix: boolean;
|
|
37
|
+
private __latestPrimitivePositionAccessorVersion;
|
|
34
38
|
isRootJoint: boolean;
|
|
35
39
|
jointIndex: number;
|
|
36
40
|
private static invertedMatrix44;
|
|
@@ -39,6 +43,10 @@ export default class SceneGraphComponent extends Component {
|
|
|
39
43
|
get isAABBGizmoVisible(): boolean;
|
|
40
44
|
set isLocatorGizmoVisible(flg: boolean);
|
|
41
45
|
get isLocatorGizmoVisible(): boolean;
|
|
46
|
+
set isTranslationGizmoVisible(flg: boolean);
|
|
47
|
+
get isTranslationGizmoVisible(): boolean;
|
|
48
|
+
set isScaleGizmoVisible(flg: boolean);
|
|
49
|
+
get isScaleGizmoVisible(): boolean;
|
|
42
50
|
static getTopLevelComponents(): SceneGraphComponent[];
|
|
43
51
|
isJoint(): boolean;
|
|
44
52
|
static get componentTID(): ComponentTID;
|
|
@@ -48,9 +56,14 @@ export default class SceneGraphComponent extends Component {
|
|
|
48
56
|
setWorldAABBDirtyParentRecursively(): void;
|
|
49
57
|
/**
|
|
50
58
|
* add a SceneGraph component as a child of this
|
|
51
|
-
* @param sg a SceneGraph component
|
|
59
|
+
* @param sg a SceneGraph component
|
|
52
60
|
*/
|
|
53
61
|
addChild(sg: SceneGraphComponent): void;
|
|
62
|
+
/**
|
|
63
|
+
* remove the child SceneGraph component from this
|
|
64
|
+
* @param sg a SceneGraph component
|
|
65
|
+
*/
|
|
66
|
+
removeChild(sg: SceneGraphComponent): void;
|
|
54
67
|
/**
|
|
55
68
|
* add a SceneGraph component as a child of this (But Gizmo only)
|
|
56
69
|
* @param sg a SceneGraph component of Gizmo
|
|
@@ -89,11 +102,7 @@ export default class SceneGraphComponent extends Component {
|
|
|
89
102
|
* @param ignoreMeshComponents mesh components to ignore
|
|
90
103
|
* @returns information of intersection in world space
|
|
91
104
|
*/
|
|
92
|
-
castRay(srcPointInWorld: Vector3, directionInWorld: Vector3, dotThreshold?: number, ignoreMeshComponents?: MeshComponent[]):
|
|
93
|
-
intersectedPosition: Vector3 | null | undefined;
|
|
94
|
-
rayDistance: number;
|
|
95
|
-
selectedMeshComponent: MeshComponent | null;
|
|
96
|
-
};
|
|
105
|
+
castRay(srcPointInWorld: Vector3, directionInWorld: Vector3, dotThreshold?: number, ignoreMeshComponents?: MeshComponent[]): RaycastResultEx2;
|
|
97
106
|
/**
|
|
98
107
|
* castRayFromScreen Methods
|
|
99
108
|
*
|
|
@@ -105,11 +114,7 @@ export default class SceneGraphComponent extends Component {
|
|
|
105
114
|
* @param ignoreMeshComponents mesh components to ignore
|
|
106
115
|
* @returns information of intersection in world space
|
|
107
116
|
*/
|
|
108
|
-
castRayFromScreen(x: number, y: number, camera: CameraComponent, viewport: Vector4, dotThreshold?: number, ignoreMeshComponents?: MeshComponent[]):
|
|
109
|
-
intersectedPosition: MutableVector3 | null | undefined;
|
|
110
|
-
rayDistance: number;
|
|
111
|
-
selectedMeshComponent: MeshComponent | null;
|
|
112
|
-
};
|
|
117
|
+
castRayFromScreen(x: number, y: number, camera: CameraComponent, viewport: Vector4, dotThreshold?: number, ignoreMeshComponents?: MeshComponent[]): RaycastResultEx2;
|
|
113
118
|
$create(): void;
|
|
114
119
|
$logic(): void;
|
|
115
120
|
private __updateGizmos;
|
|
@@ -117,6 +122,14 @@ export default class SceneGraphComponent extends Component {
|
|
|
117
122
|
* get the entity which has this component.
|
|
118
123
|
* @returns the entity which has this component
|
|
119
124
|
*/
|
|
120
|
-
get entity():
|
|
125
|
+
get entity(): ISceneGraphEntity;
|
|
126
|
+
setTransformGizmoSpace(space: 'local' | 'world'): void;
|
|
127
|
+
destroy(): void;
|
|
128
|
+
/**
|
|
129
|
+
* @override
|
|
130
|
+
* Add this component to the entity
|
|
131
|
+
* @param base the target entity
|
|
132
|
+
* @param _componentClass the component class to add
|
|
133
|
+
*/
|
|
121
134
|
addThisComponentToEntity<EntityBase extends IEntity, SomeComponentClass extends typeof Component>(base: EntityBase, _componentClass: SomeComponentClass): (SomeComponentClass extends typeof import("../../../sparkgear/SparkGearComponent").default ? import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods : Exclude<SomeComponentClass extends typeof import("../../../effekseer/EffekseerComponent").default ? import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods : Exclude<SomeComponentClass extends typeof import("../Physics/PhysicsComponent").default ? import("../Physics/IPhysicsEntity").IPhysicsEntityMethods : Exclude<SomeComponentClass extends typeof import("../BlendShape/BlendShapeComponent").default ? import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods : Exclude<SomeComponentClass extends typeof import("../Skeletal/SkeletalComponent").default ? import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods : Exclude<SomeComponentClass extends typeof import("../Light/LightComponent").default ? import("../Light/ILightEntity").ILightEntityMethods : Exclude<SomeComponentClass extends typeof CameraComponent ? import("../Camera/ICameraEntity").ICameraEntityMethods : Exclude<SomeComponentClass extends typeof import("../CameraController/CameraControllerComponent").default ? import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods : Exclude<SomeComponentClass extends typeof import("../MeshRenderer/MeshRendererComponent").default ? import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods : Exclude<SomeComponentClass extends typeof MeshComponent ? import("../Mesh/IMeshEntity").IMeshEntityMethods : Exclude<SomeComponentClass extends typeof SceneGraphComponent ? import("./ISceneGraphEntity").ISceneGraphEntityMethods : Exclude<SomeComponentClass extends typeof import("../Transform/TransformComponent").default ? import("../Transform/ITransfomEntity").ITransformEntityMethods : Exclude<SomeComponentClass extends typeof import("../Animation/AnimationComponent").default ? import("../Animation/IAnimationEntity").IAnimationEntityMethods : import("../Transform/ITransfomEntity").ITransformEntityMethods | import("./ISceneGraphEntity").ISceneGraphEntityMethods | import("../Mesh/IMeshEntity").IMeshEntityMethods | import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods | import("../Camera/ICameraEntity").ICameraEntityMethods | import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods | import("../Light/ILightEntity").ILightEntityMethods | import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods | import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods | import("../Physics/IPhysicsEntity").IPhysicsEntityMethods | import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods | import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods, import("../Transform/ITransfomEntity").ITransformEntityMethods>, import("./ISceneGraphEntity").ISceneGraphEntityMethods>, import("../Mesh/IMeshEntity").IMeshEntityMethods>, import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods>, import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods>, import("../Camera/ICameraEntity").ICameraEntityMethods>, import("../Light/ILightEntity").ILightEntityMethods>, import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods>, import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods>, import("../Physics/IPhysicsEntity").IPhysicsEntityMethods>, import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods>, import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods>) & EntityBase;
|
|
122
135
|
}
|
|
@@ -58,5 +58,11 @@ export default class SkeletalComponent extends Component {
|
|
|
58
58
|
* @returns the entity which has this component
|
|
59
59
|
*/
|
|
60
60
|
get entity(): ISkeletalEntity;
|
|
61
|
+
/**
|
|
62
|
+
* @override
|
|
63
|
+
* Add this component to the entity
|
|
64
|
+
* @param base the target entity
|
|
65
|
+
* @param _componentClass the component class to add
|
|
66
|
+
*/
|
|
61
67
|
addThisComponentToEntity<EntityBase extends IEntity, SomeComponentClass extends typeof Component>(base: EntityBase, _componentClass: SomeComponentClass): (SomeComponentClass extends typeof import("../../../sparkgear/SparkGearComponent").default ? import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods : Exclude<SomeComponentClass extends typeof import("../../../effekseer/EffekseerComponent").default ? import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods : Exclude<SomeComponentClass extends typeof import("../Physics/PhysicsComponent").default ? import("../Physics/IPhysicsEntity").IPhysicsEntityMethods : Exclude<SomeComponentClass extends typeof import("../BlendShape/BlendShapeComponent").default ? import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods : Exclude<SomeComponentClass extends typeof SkeletalComponent ? import("./ISkeletalEntity").ISkeletalEntityMethods : Exclude<SomeComponentClass extends typeof import("../Light/LightComponent").default ? import("../Light/ILightEntity").ILightEntityMethods : Exclude<SomeComponentClass extends typeof import("../Camera/CameraComponent").default ? import("../Camera/ICameraEntity").ICameraEntityMethods : Exclude<SomeComponentClass extends typeof import("../CameraController/CameraControllerComponent").default ? import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods : Exclude<SomeComponentClass extends typeof import("../MeshRenderer/MeshRendererComponent").default ? import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods : Exclude<SomeComponentClass extends typeof import("../Mesh/MeshComponent").default ? import("../Mesh/IMeshEntity").IMeshEntityMethods : Exclude<SomeComponentClass extends typeof SceneGraphComponent ? import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods : Exclude<SomeComponentClass extends typeof import("../Transform/TransformComponent").default ? import("../Transform/ITransfomEntity").ITransformEntityMethods : Exclude<SomeComponentClass extends typeof import("../Animation/AnimationComponent").default ? import("../Animation/IAnimationEntity").IAnimationEntityMethods : import("../Transform/ITransfomEntity").ITransformEntityMethods | import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods | import("../Mesh/IMeshEntity").IMeshEntityMethods | import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods | import("../Camera/ICameraEntity").ICameraEntityMethods | import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods | import("../Light/ILightEntity").ILightEntityMethods | import("./ISkeletalEntity").ISkeletalEntityMethods | import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods | import("../Physics/IPhysicsEntity").IPhysicsEntityMethods | import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods | import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods, import("../Transform/ITransfomEntity").ITransformEntityMethods>, import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods>, import("../Mesh/IMeshEntity").IMeshEntityMethods>, import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods>, import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods>, import("../Camera/ICameraEntity").ICameraEntityMethods>, import("../Light/ILightEntity").ILightEntityMethods>, import("./ISkeletalEntity").ISkeletalEntityMethods>, import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods>, import("../Physics/IPhysicsEntity").IPhysicsEntityMethods>, import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods>, import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods>) & EntityBase;
|
|
62
68
|
}
|
|
@@ -1,4 +1,17 @@
|
|
|
1
|
+
import { IVector3 } from '../../math/IVector';
|
|
2
|
+
import { IQuaternion } from '../../math/IQuaternion';
|
|
3
|
+
import { IMatrix22 } from '../../math/IMatrix';
|
|
1
4
|
import TransformComponent from './TransformComponent';
|
|
2
5
|
export interface ITransformEntityMethods {
|
|
3
6
|
getTransform(): TransformComponent;
|
|
7
|
+
translate: IVector3;
|
|
8
|
+
scale: IVector3;
|
|
9
|
+
rotate: IVector3;
|
|
10
|
+
quaternion: IQuaternion;
|
|
11
|
+
matrix: IMatrix22;
|
|
12
|
+
translateInner: IVector3;
|
|
13
|
+
scaleInner: IVector3;
|
|
14
|
+
rotateInner: IVector3;
|
|
15
|
+
quaternionInner: IQuaternion;
|
|
16
|
+
matrixInner: IMatrix22;
|
|
4
17
|
}
|
|
@@ -96,5 +96,11 @@ export default class TransformComponent extends Component {
|
|
|
96
96
|
* @returns the entity which has this component
|
|
97
97
|
*/
|
|
98
98
|
get entity(): ITransformEntity;
|
|
99
|
+
/**
|
|
100
|
+
* @override
|
|
101
|
+
* Add this component to the entity
|
|
102
|
+
* @param base the target entity
|
|
103
|
+
* @param _componentClass the component class to add
|
|
104
|
+
*/
|
|
99
105
|
addThisComponentToEntity<EntityBase extends IEntity, SomeComponentClass extends typeof Component>(base: EntityBase, _componentClass: SomeComponentClass): (SomeComponentClass extends typeof import("../../../sparkgear/SparkGearComponent").default ? import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods : Exclude<SomeComponentClass extends typeof import("../../../effekseer/EffekseerComponent").default ? import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods : Exclude<SomeComponentClass extends typeof import("../Physics/PhysicsComponent").default ? import("../Physics/IPhysicsEntity").IPhysicsEntityMethods : Exclude<SomeComponentClass extends typeof import("../BlendShape/BlendShapeComponent").default ? import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods : Exclude<SomeComponentClass extends typeof SkeletalComponent ? import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods : Exclude<SomeComponentClass extends typeof import("../Light/LightComponent").default ? import("../Light/ILightEntity").ILightEntityMethods : Exclude<SomeComponentClass extends typeof import("../Camera/CameraComponent").default ? import("../Camera/ICameraEntity").ICameraEntityMethods : Exclude<SomeComponentClass extends typeof import("../CameraController/CameraControllerComponent").default ? import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods : Exclude<SomeComponentClass extends typeof import("../MeshRenderer/MeshRendererComponent").default ? import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods : Exclude<SomeComponentClass extends typeof import("../Mesh/MeshComponent").default ? import("../Mesh/IMeshEntity").IMeshEntityMethods : Exclude<SomeComponentClass extends typeof import("../SceneGraph/SceneGraphComponent").default ? import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods : Exclude<SomeComponentClass extends typeof TransformComponent ? import("./ITransfomEntity").ITransformEntityMethods : Exclude<SomeComponentClass extends typeof import("../Animation/AnimationComponent").default ? import("../Animation/IAnimationEntity").IAnimationEntityMethods : import("./ITransfomEntity").ITransformEntityMethods | import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods | import("../Mesh/IMeshEntity").IMeshEntityMethods | import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods | import("../Camera/ICameraEntity").ICameraEntityMethods | import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods | import("../Light/ILightEntity").ILightEntityMethods | import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods | import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods | import("../Physics/IPhysicsEntity").IPhysicsEntityMethods | import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods | import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods, import("./ITransfomEntity").ITransformEntityMethods>, import("../SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods>, import("../Mesh/IMeshEntity").IMeshEntityMethods>, import("../MeshRenderer/IMeshRendererEntity").IMeshRendererEntityMethods>, import("../CameraController/ICameraControllerEntity").ICameraControllerEntityMethods>, import("../Camera/ICameraEntity").ICameraEntityMethods>, import("../Light/ILightEntity").ILightEntityMethods>, import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods>, import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods>, import("../Physics/IPhysicsEntity").IPhysicsEntityMethods>, import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods>, import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods>) & EntityBase;
|
|
100
106
|
}
|