rhodonite 0.5.3 → 0.5.4
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/README.md +9 -11
- package/VERSION-FILE +1 -1
- package/dist/esm/effekseer/EffekseerComponent.d.ts +8 -0
- package/dist/esm/effekseer/main.d.ts +1 -1
- package/dist/esm/foundation/cameras/AbstractCameraController.d.ts +5 -5
- package/dist/esm/foundation/cameras/ICameraController.d.ts +4 -4
- package/dist/esm/foundation/cameras/OrbitCameraController.d.ts +5 -5
- package/dist/esm/foundation/cameras/WalkThroughCameraController.d.ts +5 -5
- package/dist/esm/foundation/components/Animation/AnimationComponent.d.ts +89 -0
- package/dist/esm/foundation/components/Animation/IAnimationEntity.d.ts +4 -0
- package/dist/esm/foundation/components/BlendShape/BlendShapeComponent.d.ts +16 -0
- package/dist/esm/foundation/components/BlendShape/IBlendShapeEntity.d.ts +4 -0
- package/dist/esm/foundation/components/Camera/CameraComponent.d.ts +126 -0
- package/dist/esm/foundation/components/Camera/ICameraEntity.d.ts +4 -0
- package/dist/esm/foundation/components/CameraController/CameraControllerComponent.d.ts +19 -0
- package/dist/esm/foundation/components/CameraController/ICameraControllerEntity.d.ts +4 -0
- package/dist/esm/foundation/components/ComponentTypes.d.ts +46 -0
- package/dist/esm/foundation/components/Light/ILightEntity.d.ts +4 -0
- package/dist/esm/foundation/components/Light/LightComponent.d.ts +37 -0
- package/dist/esm/foundation/components/Mesh/IMeshEntity.d.ts +4 -0
- package/dist/esm/foundation/components/Mesh/MeshComponent.d.ts +60 -0
- package/dist/esm/foundation/components/Mesh/MeshComponent.test.d.ts +1 -0
- package/dist/esm/foundation/components/MeshRenderer/IMeshRendererEntity.d.ts +4 -0
- package/dist/esm/foundation/components/MeshRenderer/MeshRendererComponent.d.ts +62 -0
- package/dist/esm/foundation/components/Physics/IPhysicsEntity.d.ts +4 -0
- package/dist/esm/foundation/components/Physics/PhysicsComponent.d.ts +14 -0
- package/dist/esm/foundation/components/SceneGraph/ISceneGraphEntity.d.ts +7 -0
- package/dist/esm/foundation/components/SceneGraph/SceneGraphComponent.d.ts +122 -0
- package/dist/esm/foundation/components/SceneGraph/SceneGraphComponent.test.d.ts +1 -0
- package/dist/esm/foundation/components/Skeletal/ISkeletalEntity.d.ts +4 -0
- package/dist/esm/foundation/components/Skeletal/SkeletalComponent.d.ts +62 -0
- package/dist/esm/foundation/components/Transform/ITransfomEntity.d.ts +4 -0
- package/dist/esm/foundation/components/Transform/TransformComponent.d.ts +100 -0
- package/dist/esm/foundation/components/Transform/TransformComponent.test.d.ts +1 -0
- package/dist/esm/foundation/core/Component.d.ts +4 -2
- package/dist/esm/foundation/core/ComponentRepository.d.ts +1 -1
- package/dist/esm/foundation/core/Entity.d.ts +55 -51
- package/dist/esm/foundation/core/Entity.test.d.ts +1 -0
- package/dist/esm/foundation/core/EntityRepository.d.ts +11 -15
- package/dist/esm/foundation/core/EntityRepository.test.d.ts +1 -0
- package/dist/esm/foundation/core/RnObject.d.ts +15 -1
- package/dist/esm/foundation/core/RnObject.test.d.ts +1 -0
- package/dist/esm/foundation/definitions/CompositionType.d.ts +6 -2
- package/dist/esm/foundation/definitions/VertexAttribute.test.d.ts +1 -0
- package/dist/esm/foundation/enhanced_js_objects/Array.test.d.ts +5 -0
- package/dist/esm/foundation/exporter/Gltf2Exporter.d.ts +15 -5
- package/dist/esm/foundation/geometry/Frustum.d.ts +1 -1
- package/dist/esm/foundation/geometry/Mesh.test.d.ts +1 -0
- package/dist/esm/foundation/gizmos/AABBGizmo.d.ts +2 -2
- package/dist/esm/foundation/gizmos/Gizmo.d.ts +4 -4
- package/dist/esm/foundation/gizmos/LocatorGizmo.d.ts +2 -2
- package/dist/esm/foundation/helpers/EntityHelper.d.ts +36 -5
- package/dist/esm/foundation/helpers/MaterialHelper.d.ts +3 -3
- package/dist/esm/foundation/helpers/MeshHelper.d.ts +3 -3
- package/dist/esm/foundation/importer/AnimationAssigner.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 +26 -15
- package/dist/esm/foundation/importer/VRMImporter.d.ts +2 -2
- package/dist/esm/foundation/materials/core/AbstractMaterialNode.d.ts +11 -9
- package/dist/esm/foundation/materials/core/Material.d.ts +3 -2
- package/dist/esm/foundation/materials/core/Material.test.d.ts +1 -0
- package/dist/esm/foundation/materials/core/ShaderityUtility.test.d.ts +1 -0
- package/dist/esm/foundation/materials/nodes/AddShaderNode.test.d.ts +1 -0
- package/dist/esm/foundation/materials/nodes/ConstantVariableShaderNode.test.d.ts +1 -0
- package/dist/esm/foundation/materials/nodes/ScalarToVector4ShaderNode.test.d.ts +1 -0
- package/dist/esm/foundation/materials/nodes/VaryingVariableShaderNode.test.d.ts +1 -0
- package/dist/esm/foundation/materials/singles/ClassicShadingSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/ColorGradingUsingLUTsSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/CustomSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/DepthEncodeSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/DetectHighLuminanceSingleMaterialNode.d.ts +4 -2
- package/dist/esm/foundation/materials/singles/EntityUIDOutputSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/EnvConstantSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/FXAA3QualitySingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/FurnaceTestSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/GammaCorrectionSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/GaussianBlurForEncodedDepthSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/GaussianBlurSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/MToonSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/MatCapSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/PbrExtendedShadingSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/PbrShadingSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/ShaderitySingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/ShadowMapDecodeClassicSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/SkinPbrShadingSingleMaterialNode.d.ts +2 -1
- package/dist/esm/foundation/materials/singles/SynthesizeHDRSingleMaterialNode.d.ts +4 -2
- package/dist/esm/foundation/materials/singles/VarianceShadowMapDecodeClassicSingleMaterialNode.d.ts +3 -2
- package/dist/esm/foundation/math/AABB.test.d.ts +1 -0
- package/dist/esm/foundation/math/AbstractMatrix.test.d.ts +1 -0
- package/dist/esm/foundation/math/AbstractVector.test.d.ts +1 -0
- package/dist/esm/foundation/math/IdentityMatrix33.test.d.ts +1 -0
- package/dist/esm/foundation/math/IdentityMatrix44.test.d.ts +1 -0
- package/dist/esm/foundation/math/Matrix44.d.ts +2 -0
- package/dist/esm/foundation/math/Matrix44.test.d.ts +1 -0
- package/dist/esm/foundation/math/MutableMatrix44..test.d.ts +1 -0
- package/dist/esm/foundation/math/MutableVector4.test.d.ts +1 -0
- package/dist/esm/foundation/math/Vector4.test.d.ts +1 -0
- package/dist/esm/foundation/math/raw/raw_extension.d.ts +2 -0
- package/dist/esm/foundation/math/raw/raw_extension.test.d.ts +1 -0
- package/dist/esm/foundation/memory/Accessor.test.d.ts +1 -0
- package/dist/esm/foundation/memory/Buffer.test.d.ts +1 -0
- package/dist/esm/foundation/memory/BufferView.test.d.ts +1 -0
- package/dist/esm/foundation/misc/Is.test.d.ts +1 -0
- package/dist/esm/foundation/misc/ManualCache.test.d.ts +1 -0
- package/dist/esm/foundation/misc/MiscUtil.d.ts +3 -0
- package/dist/esm/foundation/misc/Option.test.d.ts +1 -0
- package/dist/esm/foundation/misc/Result.test.d.ts +1 -0
- package/dist/esm/foundation/misc/RnPromise.test.d.ts +1 -0
- package/dist/esm/foundation/physics/VRMColliderGroup.d.ts +1 -1
- package/dist/esm/foundation/physics/VRMSpringBoneGroup.d.ts +1 -1
- package/dist/esm/foundation/physics/VRMSpringBonePhysicsStrategy.d.ts +1 -1
- package/dist/esm/foundation/renderer/RenderPass.d.ts +7 -6
- package/dist/esm/foundation/renderer/RenderPass.test.d.ts +1 -0
- package/dist/esm/foundation/system/EventPubSub.test.d.ts +1 -0
- package/dist/esm/index.d.ts +24 -18
- package/dist/esm/index.js +2204 -1980
- package/dist/esm/samples/import.d.ts +677 -0
- package/dist/esm/samples/simple/BasisTexture/main.d.ts +1 -0
- package/dist/esm/samples/simple/DracoPointCloudJSONImporter/main.d.ts +1 -0
- package/dist/esm/samples/simple/DracoPointCloudPrimitiveImporter/main.d.ts +1 -0
- package/dist/esm/samples/simple/GaussianBlurDepth/main.d.ts +1 -0
- package/dist/esm/samples/simple/Gltf2ImporterShadow/main.d.ts +1 -0
- package/dist/esm/samples/simple/GltfImporter-iOS/main.d.ts +1 -0
- package/dist/esm/samples/simple/NodeEditor/main.d.ts +1 -0
- package/dist/esm/samples/simple/ShadowMapping/main.d.ts +1 -0
- package/dist/esm/samples/simple/SkinShader/main.d.ts +1 -0
- package/dist/esm/samples/simple/SparkGear/main.d.ts +1 -0
- package/dist/esm/samples/simple/VRMImporterMToon/main.d.ts +1 -0
- package/dist/esm/samples/simple/VideoTexture/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/ColorGradingUsingLUTs/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/DepthEncode/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/EffekseerTest/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/FXAA/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/FastestInstancedDrawingWebGL1/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/FurnaceTest-weakWhiteFurnaceResult/main.d.ts +16 -0
- package/dist/esm/samples/test_e2e/FurnaceTest-whiteFurnace/main.d.ts +16 -0
- package/dist/esm/samples/test_e2e/GaussianBlur/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/Gltf1Importer/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/Gltf2Importer/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/Gltf2Importer-GlareEffect/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/Gltf2Importer-MSAA/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/Gltf2Importer-skinning/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-alpha-blend-mode/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-animation-in-second-bin-file/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-draco-extension/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-ibl-0/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-ibl-1/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-ibl-1-webgl2/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-ibl-2/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-ibl-metallic-roughness/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-interpolation/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-morphing/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-multiUV/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-orbit-moving/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-skinning-mat44/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-skinning-vec4-1/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-skinning-vec4-2/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-sparse-accessor/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-specify-noLight/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-texture-settings/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-texture-transform/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-walk-through-eye-direction-moving/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/GltfImporter-walk-through-fixed-direction-moving/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/MatCap/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/MultiPass/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/PixelPickingTest/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/Primitives/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/ShadowMap/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/ShadowMapDebugMode/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/ShadowMapVariance/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/Simple/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/VRMAnimation/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/VRMImporter/main.d.ts +1 -0
- package/dist/esm/samples/test_e2e/common/testHelpers.d.ts +4 -0
- package/dist/esm/samples/test_e2e/common/types.d.ts +4 -0
- package/dist/esm/sparkgear/SparkGearComponent.d.ts +7 -0
- package/dist/esm/sparkgear/main.d.ts +1 -1
- package/dist/esm/src/effekseer/EffekseerComponent.d.ts +52 -0
- package/dist/esm/src/effekseer/main.d.ts +6 -0
- package/dist/esm/src/foundation/cameras/AbstractCameraController.d.ts +14 -0
- package/dist/esm/src/foundation/cameras/ICameraController.d.ts +9 -0
- package/dist/esm/src/foundation/cameras/OrbitCameraController.d.ts +128 -0
- package/dist/esm/src/foundation/cameras/WalkThroughCameraController.d.ts +75 -0
- package/dist/esm/src/foundation/components/Animation/AnimationComponent.d.ts +79 -0
- package/dist/esm/src/foundation/components/Animation/IAnimationEntity.d.ts +21 -0
- package/dist/esm/src/foundation/components/BlendShape/BlendShapeComponent.d.ts +14 -0
- package/dist/esm/src/foundation/components/Camera/CameraComponent.d.ts +116 -0
- package/dist/esm/src/foundation/components/Camera/ICameraEntity.d.ts +21 -0
- package/dist/esm/src/foundation/components/CameraController/CameraControllerComponent.d.ts +16 -0
- package/dist/esm/src/foundation/components/CameraController/ICameraControllerEntity.d.ts +21 -0
- package/dist/esm/src/foundation/components/ComponentTypes.d.ts +7 -0
- package/dist/esm/src/foundation/components/Light/ILightEntity.d.ts +4 -0
- package/dist/esm/src/foundation/components/Light/LightComponent.d.ts +28 -0
- package/dist/esm/src/foundation/components/Mesh/IMeshEntity.d.ts +4 -0
- package/dist/esm/src/foundation/components/Mesh/MeshComponent.d.ts +50 -0
- package/dist/esm/src/foundation/components/MeshRenderer/IMeshRendererEntity.d.ts +4 -0
- package/dist/esm/src/foundation/components/MeshRenderer/MeshRendererComponent.d.ts +57 -0
- package/dist/esm/src/foundation/components/Physics/PhysicsComponent.d.ts +12 -0
- package/dist/esm/src/foundation/components/SceneGraph/ISceneGraphEntity.d.ts +21 -0
- package/dist/esm/src/foundation/components/SceneGraph/SceneGraphComponent.d.ts +114 -0
- package/dist/esm/src/foundation/components/Skeletal/SkeletalComponent.d.ts +54 -0
- package/dist/esm/src/foundation/components/Transform/ITransfomEntity.d.ts +21 -0
- package/dist/esm/src/foundation/components/Transform/TransformComponent.d.ts +91 -0
- package/dist/esm/src/foundation/components/WellKnownComponentTIDs.d.ts +16 -0
- package/dist/esm/src/foundation/core/Component.d.ts +216 -0
- package/dist/esm/src/foundation/core/ComponentRepository.d.ts +59 -0
- package/dist/esm/src/foundation/core/Config.d.ts +20 -0
- package/dist/esm/src/foundation/core/Entity.d.ts +91 -0
- package/dist/esm/src/foundation/core/EntityRepository.d.ts +68 -0
- package/dist/esm/src/foundation/core/GlobalDataRepository.d.ts +32 -0
- package/dist/esm/src/foundation/core/MemoryManager.d.ts +29 -0
- package/dist/esm/src/foundation/core/RnObject.d.ts +103 -0
- package/dist/esm/src/foundation/definitions/AlphaMode.d.ts +15 -0
- package/dist/esm/src/foundation/definitions/AnimationAttribute.d.ts +13 -0
- package/dist/esm/src/foundation/definitions/AnimationInterpolation.d.ts +15 -0
- package/dist/esm/src/foundation/definitions/BasisCompressionType.d.ts +26 -0
- package/dist/esm/src/foundation/definitions/BoneDataType.d.ts +13 -0
- package/dist/esm/src/foundation/definitions/BufferUse.d.ts +13 -0
- package/dist/esm/src/foundation/definitions/CameraControllerType.d.ts +11 -0
- package/dist/esm/src/foundation/definitions/CameraType.d.ts +12 -0
- package/dist/esm/src/foundation/definitions/ComponentType.d.ts +42 -0
- package/dist/esm/src/foundation/definitions/CompositionType.d.ts +60 -0
- package/dist/esm/src/foundation/definitions/CompressionTextureType.d.ts +48 -0
- package/dist/esm/src/foundation/definitions/FileType.d.ts +17 -0
- package/dist/esm/src/foundation/definitions/HdriFormat.d.ts +10 -0
- package/dist/esm/src/foundation/definitions/LightType.d.ts +13 -0
- package/dist/esm/src/foundation/definitions/PixelFormat.d.ts +10 -0
- package/dist/esm/src/foundation/definitions/PrimitiveMode.d.ts +15 -0
- package/dist/esm/src/foundation/definitions/ProcessApproach.d.ts +19 -0
- package/dist/esm/src/foundation/definitions/ProcessStage.d.ts +18 -0
- package/dist/esm/src/foundation/definitions/RenderBufferTarget.d.ts +27 -0
- package/dist/esm/src/foundation/definitions/ShaderNode.d.ts +11 -0
- package/dist/esm/src/foundation/definitions/ShaderSemantics.d.ts +119 -0
- package/dist/esm/src/foundation/definitions/ShaderType.d.ts +13 -0
- package/dist/esm/src/foundation/definitions/ShaderVariableUpdateInterval.d.ts +12 -0
- package/dist/esm/src/foundation/definitions/ShadingModel.d.ts +12 -0
- package/dist/esm/src/foundation/definitions/TextureParameter.d.ts +37 -0
- package/dist/esm/src/foundation/definitions/VertexAttribute.d.ts +81 -0
- package/dist/esm/src/foundation/definitions/visibility.d.ts +12 -0
- package/dist/esm/src/foundation/enhanced_js_objects/Array.d.ts +15 -0
- package/dist/esm/src/foundation/exporter/Gltf2Exporter.d.ts +76 -0
- package/dist/esm/src/foundation/geometry/Frustum.d.ts +37 -0
- package/dist/esm/src/foundation/geometry/Mesh.d.ts +148 -0
- package/dist/esm/src/foundation/geometry/Primitive.d.ts +82 -0
- package/dist/esm/src/foundation/geometry/shapes/Axis.d.ts +17 -0
- package/dist/esm/src/foundation/geometry/shapes/Cube.d.ts +20 -0
- package/dist/esm/src/foundation/geometry/shapes/Grid.d.ts +25 -0
- package/dist/esm/src/foundation/geometry/shapes/IShape.d.ts +4 -0
- package/dist/esm/{foundation/geometry → src/foundation/geometry/shapes}/Joint.d.ts +4 -4
- package/dist/esm/{foundation/geometry → src/foundation/geometry/shapes}/Line.d.ts +4 -3
- package/dist/esm/{foundation/geometry → src/foundation/geometry/shapes}/Plane.d.ts +4 -3
- package/dist/esm/{foundation/geometry → src/foundation/geometry/shapes}/Sphere.d.ts +5 -7
- package/dist/esm/src/foundation/gizmos/AABBGizmo.d.ts +29 -0
- package/dist/esm/src/foundation/gizmos/Gizmo.d.ts +39 -0
- package/dist/esm/src/foundation/gizmos/LocatorGizmo.d.ts +28 -0
- package/dist/esm/src/foundation/helpers/EntityHelper.d.ts +36 -0
- package/dist/esm/src/foundation/helpers/MaterialHelper.d.ts +173 -0
- package/dist/esm/src/foundation/helpers/MeshHelper.d.ts +10 -0
- package/dist/esm/src/foundation/helpers/RenderableHelper.d.ts +18 -0
- package/dist/esm/src/foundation/importer/AnimationAssigner.d.ts +16 -0
- package/dist/esm/src/foundation/importer/DrcPointCloudImporter.d.ts +69 -0
- package/dist/esm/src/foundation/importer/FormatDetector.d.ts +5 -0
- package/dist/esm/src/foundation/importer/Gltf1Importer.d.ts +46 -0
- package/dist/esm/src/foundation/importer/Gltf2Importer.d.ts +46 -0
- package/dist/esm/src/foundation/importer/GltfImporter.d.ts +57 -0
- package/dist/esm/src/foundation/importer/ILoaderExtension.d.ts +11 -0
- package/dist/esm/src/foundation/importer/ModelConverter.d.ts +89 -0
- package/dist/esm/src/foundation/importer/VRMImporter.d.ts +15 -0
- package/dist/esm/src/foundation/materials/core/AbstractMaterialNode.d.ts +124 -0
- package/dist/esm/src/foundation/materials/core/AbstractShaderNode.d.ts +33 -0
- package/dist/esm/src/foundation/materials/core/Material.d.ts +181 -0
- package/dist/esm/src/foundation/materials/core/ShaderGraphResolver.d.ts +16 -0
- package/dist/esm/src/foundation/materials/core/ShaderityUtility.d.ts +30 -0
- package/dist/esm/src/foundation/materials/nodes/AddShaderNode.d.ts +6 -0
- package/dist/esm/src/foundation/materials/nodes/AttributeNormalShaderNode.d.ts +4 -0
- package/dist/esm/src/foundation/materials/nodes/AttributePositionShaderNode.d.ts +4 -0
- package/dist/esm/src/foundation/materials/nodes/BlockBeginShaderNode.d.ts +9 -0
- package/dist/esm/src/foundation/materials/nodes/BlockEndShaderNode.d.ts +7 -0
- package/dist/esm/src/foundation/materials/nodes/ConstantVariableShaderNode.d.ts +7 -0
- package/dist/esm/src/foundation/materials/nodes/DotProductShaderNode.d.ts +6 -0
- package/dist/esm/src/foundation/materials/nodes/GreaterShaderNode.d.ts +6 -0
- package/dist/esm/src/foundation/materials/nodes/IfStatementShaderNode.d.ts +4 -0
- package/dist/esm/src/foundation/materials/nodes/MultiplyShaderNode.d.ts +6 -0
- package/dist/esm/src/foundation/materials/nodes/NormalMatrixShaderNode.d.ts +4 -0
- package/dist/esm/src/foundation/materials/nodes/NormalizeShaderNode.d.ts +6 -0
- package/dist/esm/src/foundation/materials/nodes/OutColorShaderNode.d.ts +4 -0
- package/dist/esm/src/foundation/materials/nodes/OutPositionShaderNode.d.ts +4 -0
- package/dist/esm/src/foundation/materials/nodes/ProjectionMatrixShaderNode.d.ts +4 -0
- package/dist/esm/src/foundation/materials/nodes/ScalarToVector4ShaderNode.d.ts +4 -0
- package/dist/esm/src/foundation/materials/nodes/UniformDataShaderNode.d.ts +8 -0
- package/dist/esm/src/foundation/materials/nodes/VaryingInVariableShaderNode.d.ts +7 -0
- package/dist/esm/src/foundation/materials/nodes/VaryingOutVariableShaderNode.d.ts +7 -0
- package/dist/esm/src/foundation/materials/nodes/Vector3AndScalarToVector4ShaderNode.d.ts +4 -0
- package/dist/esm/src/foundation/materials/nodes/ViewMatrixShaderNode.d.ts +4 -0
- package/dist/esm/src/foundation/materials/nodes/WorldMatrixShaderNode.d.ts +4 -0
- package/dist/esm/src/foundation/materials/singles/ClassicShadingSingleMaterialNode.d.ts +16 -0
- package/dist/esm/src/foundation/materials/singles/ColorGradingUsingLUTsSingleMaterialNode.d.ts +16 -0
- package/dist/esm/src/foundation/materials/singles/CustomSingleMaterialNode.d.ts +30 -0
- package/dist/esm/src/foundation/materials/singles/DepthEncodeSingleMaterialNode.d.ts +20 -0
- package/dist/esm/src/foundation/materials/singles/DetectHighLuminanceSingleMaterialNode.d.ts +16 -0
- package/dist/esm/src/foundation/materials/singles/EntityUIDOutputSingleMaterialNode.d.ts +11 -0
- package/dist/esm/src/foundation/materials/singles/EnvConstantSingleMaterialNode.d.ts +14 -0
- package/dist/esm/src/foundation/materials/singles/FXAA3QualitySingleMaterialNode.d.ts +11 -0
- package/dist/esm/src/foundation/materials/singles/FurnaceTestSingleMaterialNode.d.ts +17 -0
- package/dist/esm/src/foundation/materials/singles/GammaCorrectionSingleMaterialNode.d.ts +11 -0
- package/dist/esm/src/foundation/materials/singles/GaussianBlurForEncodedDepthSingleMaterialNode.d.ts +27 -0
- package/dist/esm/src/foundation/materials/singles/GaussianBlurSingleMaterialNode.d.ts +27 -0
- package/dist/esm/src/foundation/materials/singles/MToonSingleMaterialNode.d.ts +52 -0
- package/dist/esm/src/foundation/materials/singles/MatCapSingleMaterialNode.d.ts +14 -0
- package/dist/esm/src/foundation/materials/singles/PbrExtendedShadingSingleMaterialNode.d.ts +29 -0
- package/dist/esm/src/foundation/materials/singles/PbrShadingSingleMaterialNode.d.ts +36 -0
- package/dist/esm/src/foundation/materials/singles/ShaderitySingleMaterialNode.d.ts +17 -0
- package/dist/esm/src/foundation/materials/singles/ShadowMapDecodeClassicSingleMaterialNode.d.ts +41 -0
- package/dist/esm/src/foundation/materials/singles/SkinPbrShadingSingleMaterialNode.d.ts +26 -0
- package/dist/esm/src/foundation/materials/singles/SynthesizeHDRSingleMaterialNode.d.ts +39 -0
- package/dist/esm/src/foundation/materials/singles/VarianceShadowMapDecodeClassicSingleMaterialNode.d.ts +52 -0
- package/dist/esm/src/foundation/math/AABB.d.ts +34 -0
- package/dist/esm/src/foundation/math/AbstractMatrix.d.ts +14 -0
- package/dist/esm/src/foundation/math/AbstractQuaternion.d.ts +25 -0
- package/dist/esm/src/foundation/math/AbstractVector.d.ts +21 -0
- package/dist/esm/src/foundation/math/ColorRgb.d.ts +26 -0
- package/dist/esm/src/foundation/math/ColorRgba.d.ts +27 -0
- package/dist/esm/src/foundation/math/IColor.d.ts +64 -0
- package/dist/esm/src/foundation/math/IMatrix.d.ts +226 -0
- package/dist/esm/src/foundation/math/IQuaternion.d.ts +64 -0
- package/dist/esm/src/foundation/math/IVector.d.ts +209 -0
- package/dist/esm/src/foundation/math/IdentityMatrix33.d.ts +40 -0
- package/dist/esm/src/foundation/math/IdentityMatrix44.d.ts +45 -0
- package/dist/esm/src/foundation/math/ImageUtil.d.ts +19 -0
- package/dist/esm/src/foundation/math/LogQuaternion.d.ts +12 -0
- package/dist/esm/src/foundation/math/MathClassUtil.d.ts +37 -0
- package/dist/esm/src/foundation/math/MathUtil.d.ts +55 -0
- package/dist/esm/src/foundation/math/Matrix22.d.ts +69 -0
- package/dist/esm/src/foundation/math/Matrix33.d.ts +86 -0
- package/dist/esm/src/foundation/math/Matrix44.d.ts +124 -0
- package/dist/esm/src/foundation/math/MutableColorRgb.d.ts +32 -0
- package/dist/esm/src/foundation/math/MutableColorRgba.d.ts +33 -0
- package/dist/esm/src/foundation/math/MutableMatrix22.d.ts +80 -0
- package/dist/esm/src/foundation/math/MutableMatrix33.d.ts +110 -0
- package/dist/esm/src/foundation/math/MutableMatrix44.d.ts +149 -0
- package/dist/esm/src/foundation/math/MutableQuaternion.d.ts +48 -0
- package/dist/esm/src/foundation/math/MutableScalar.d.ts +34 -0
- package/dist/esm/src/foundation/math/MutableVector2.d.ts +80 -0
- package/dist/esm/src/foundation/math/MutableVector3.d.ts +98 -0
- package/dist/esm/src/foundation/math/MutableVector4.d.ts +87 -0
- package/dist/esm/src/foundation/math/Quaternion.d.ts +53 -0
- package/dist/esm/src/foundation/math/Scalar.d.ts +40 -0
- package/dist/esm/src/foundation/math/Vector2.d.ts +145 -0
- package/dist/esm/src/foundation/math/Vector3.d.ts +171 -0
- package/dist/esm/src/foundation/math/Vector4.d.ts +149 -0
- package/dist/esm/src/foundation/math/VectorN.d.ts +5 -0
- package/dist/esm/src/foundation/math/raw/raw_extension.d.ts +61 -0
- package/dist/esm/src/foundation/memory/Accessor.d.ts +116 -0
- package/dist/esm/src/foundation/memory/Buffer.d.ts +38 -0
- package/dist/esm/src/foundation/memory/BufferView.d.ts +64 -0
- package/dist/esm/src/foundation/misc/DataUtil.d.ts +101 -0
- package/dist/esm/src/foundation/misc/EnumIO.d.ts +33 -0
- package/dist/esm/{foundation/misc/If.d.ts → src/foundation/misc/Is.d.ts} +9 -8
- package/dist/esm/src/foundation/misc/MiscUtil.d.ts +47 -0
- package/dist/esm/src/foundation/misc/Result.d.ts +71 -0
- package/dist/esm/src/foundation/misc/RnPromise.d.ts +27 -0
- package/dist/esm/src/foundation/misc/Time.d.ts +16 -0
- package/dist/esm/src/foundation/physics/PhysicsStrategy.d.ts +2 -0
- package/dist/esm/src/foundation/physics/SphereCollider.d.ts +5 -0
- package/dist/esm/src/foundation/physics/VRMColliderGroup.d.ts +6 -0
- package/dist/esm/src/foundation/physics/VRMSpringBoneGroup.d.ts +14 -0
- package/dist/esm/src/foundation/physics/VRMSpringBonePhysicsStrategy.d.ts +39 -0
- package/dist/esm/src/foundation/renderer/CGAPIResourceRepository.d.ts +5 -0
- package/dist/esm/src/foundation/renderer/Expression.d.ts +21 -0
- package/dist/esm/src/foundation/renderer/FrameBuffer.d.ts +32 -0
- package/dist/esm/src/foundation/renderer/RenderPass.d.ts +114 -0
- package/dist/esm/src/foundation/system/EventPubSub.d.ts +19 -0
- package/dist/esm/src/foundation/system/ModuleManager.d.ts +10 -0
- package/dist/esm/src/foundation/system/System.d.ts +23 -0
- package/dist/esm/src/foundation/system/SystemState.d.ts +4 -0
- package/dist/esm/src/foundation/textures/AbstractTexture.d.ts +60 -0
- package/dist/esm/src/foundation/textures/CubeTexture.d.ts +33 -0
- package/dist/esm/src/foundation/textures/IRenderable.d.ts +10 -0
- package/dist/esm/src/foundation/textures/RenderBuffer.d.ts +23 -0
- package/dist/esm/src/foundation/textures/RenderTargetTexture.d.ts +39 -0
- package/dist/esm/src/foundation/textures/Texture.d.ts +90 -0
- package/dist/esm/src/foundation/textures/TextureDataFloat.d.ts +20 -0
- package/dist/esm/src/foundation/textures/VideoTexture.d.ts +63 -0
- package/dist/esm/src/index.d.ts +973 -0
- package/dist/esm/src/pbr/main.d.ts +5 -0
- package/dist/esm/src/sparkgear/SparkGearComponent.d.ts +54 -0
- package/dist/esm/src/sparkgear/main.d.ts +6 -0
- package/dist/esm/src/types/AnimationTypes.d.ts +48 -0
- package/dist/esm/src/types/BasisTexture.d.ts +23 -0
- package/dist/esm/src/types/CommonTypes.d.ts +36 -0
- package/dist/esm/src/types/KTX2Texture.d.ts +67 -0
- package/dist/esm/{types/glTF.d.ts → src/types/RnM2.d.ts} +65 -147
- package/dist/esm/src/types/TypeGenerators.d.ts +8 -0
- package/dist/esm/src/types/VRM.d.ts +160 -0
- package/dist/esm/src/types/WebGLConstants.d.ts +2951 -0
- package/dist/esm/src/types/glTF1.d.ts +52 -0
- package/dist/esm/src/types/glTF2.d.ts +353 -0
- package/dist/esm/src/types/glTF2ForOutput.d.ts +38 -0
- package/dist/esm/src/webgl/WebGLContextWrapper.d.ts +99 -0
- package/dist/esm/src/webgl/WebGLExtendedTypes.d.ts +14 -0
- package/dist/esm/src/webgl/WebGLExtension.d.ts +24 -0
- package/dist/esm/src/webgl/WebGLResourceRepository.d.ts +351 -0
- package/dist/esm/src/webgl/WebGLStrategy.d.ts +27 -0
- package/dist/esm/src/webgl/WebGLStrategyCommonMethod.d.ts +54 -0
- package/dist/esm/src/webgl/WebGLStrategyFastest.d.ts +54 -0
- package/dist/esm/src/webgl/WebGLStrategyUniform.d.ts +44 -0
- package/dist/esm/src/webgl/getRenderingStrategy.d.ts +4 -0
- package/dist/esm/src/webgl/main.d.ts +17 -0
- package/dist/esm/src/webgl/shaders/GLSLShader.d.ts +48 -0
- package/dist/esm/src/webgl/shaders/nodes/BlockBeginShader.d.ts +16 -0
- package/dist/esm/src/webgl/shaders/nodes/BlockEndShader.d.ts +16 -0
- package/dist/esm/src/webgl/shaders/nodes/ConstantVariableShader.d.ts +18 -0
- package/dist/esm/src/webgl/shaders/nodes/EndShader.d.ts +17 -0
- package/dist/esm/src/webgl/shaders/nodes/IfStatementShader.d.ts +12 -0
- package/dist/esm/src/webgl/shaders/nodes/UniformDataShader.d.ts +20 -0
- package/dist/esm/src/webgl/shaders/nodes/VaryingVariableShader.d.ts +18 -0
- package/dist/esm/src/webgl/textureLoader/KTX2TextureLoader.d.ts +21 -0
- package/dist/esm/src/xr/WebVRSystem.d.ts +55 -0
- package/dist/esm/src/xr/WebXRInput.d.ts +18 -0
- package/dist/esm/src/xr/WebXRSystem.d.ts +137 -0
- package/dist/esm/src/xr/main.d.ts +8 -0
- package/dist/esm/types/AnimationTypes.d.ts +2 -2
- package/dist/esm/types/CommonTypes.d.ts +2 -0
- package/dist/esm/types/RnM2.d.ts +3 -3
- package/dist/esm/types/TypeGenerators.d.ts +4 -0
- package/dist/esm/types/glTF2.d.ts +3 -1
- package/dist/esm/types/glTF2ForOutput.d.ts +14 -1
- package/dist/esm/webgl/WebGLResourceRepository.test.d.ts +1 -0
- package/dist/esm/webgl/WebGLStrategy.d.ts +4 -4
- package/dist/esm/webgl/WebGLStrategyCommonMethod.d.ts +1 -1
- package/dist/esm/webgl/WebGLStrategyFastest.d.ts +4 -4
- package/dist/esm/webgl/WebGLStrategyUniform.d.ts +4 -4
- package/dist/esm/webgl/types/CommomTypes.d.ts +23 -0
- package/dist/esm/xr/WebXRInput.d.ts +3 -3
- package/dist/esm/xr/WebXRSystem.d.ts +4 -3
- package/package.json +1 -1
- package/dist/esm/foundation/geometry/Axis.d.ts +0 -19
- package/dist/esm/foundation/geometry/Cube.d.ts +0 -22
- package/dist/esm/foundation/geometry/Grid.d.ts +0 -27
- package/dist/esm/foundation/geometry/SemanticVertexAttribute.d.ts +0 -15
- package/dist/esm/foundation/geometry/SemanticVertexAttributeSet.d.ts +0 -26
- package/dist/esm/foundation/misc/Cache.d.ts +0 -19
package/README.md
CHANGED
|
@@ -40,19 +40,19 @@ IE11 is not supported.
|
|
|
40
40
|
|
|
41
41
|
You can install the esm version of Rhodonite easily.
|
|
42
42
|
|
|
43
|
-
```
|
|
43
|
+
```bash
|
|
44
44
|
$ yarn add rhodonite
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
You can install yarn as following,
|
|
48
48
|
|
|
49
|
-
```
|
|
49
|
+
```bash
|
|
50
50
|
$ npm install -g yarn
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
You can use npm of course, but we recommend yarn because we use it usually.
|
|
54
54
|
|
|
55
|
-
```
|
|
55
|
+
```bash
|
|
56
56
|
$ npm install rhodonite
|
|
57
57
|
```
|
|
58
58
|
|
|
@@ -100,11 +100,9 @@ async function load() {
|
|
|
100
100
|
const system = Rn.System.getInstance();
|
|
101
101
|
const gl = system.setProcessApproachAndCanvas(Rn.ProcessApproach.UniformWebGL1, document.getElementById('world') as HTMLCanvasElement);
|
|
102
102
|
|
|
103
|
-
const entityRepository = Rn.EntityRepository.getInstance();
|
|
104
|
-
|
|
105
103
|
// Camera
|
|
106
|
-
const cameraEntity =
|
|
107
|
-
const cameraComponent = cameraEntity.
|
|
104
|
+
const cameraEntity = Rn.EntityHelper.createCameraControllerEntity();
|
|
105
|
+
const cameraComponent = cameraEntity.getCamera();
|
|
108
106
|
|
|
109
107
|
...
|
|
110
108
|
(After that, please refer to the sample codes.)
|
|
@@ -135,8 +133,8 @@ async function load() {
|
|
|
135
133
|
const entityRepository = Rn.EntityRepository.getInstance();
|
|
136
134
|
|
|
137
135
|
// Camera
|
|
138
|
-
const cameraEntity =
|
|
139
|
-
const cameraComponent = cameraEntity.
|
|
136
|
+
const cameraEntity = Rn.EntityHelper.createCameraControllerEntity();
|
|
137
|
+
const cameraComponent = cameraEntity.getCamera();
|
|
140
138
|
|
|
141
139
|
...
|
|
142
140
|
(After that, please refer to the sample codes.)
|
|
@@ -146,7 +144,7 @@ async function load() {
|
|
|
146
144
|
|
|
147
145
|
In this approach, you don't need any bundler. just compile it by:
|
|
148
146
|
|
|
149
|
-
```
|
|
147
|
+
```bash
|
|
150
148
|
$ npx tsc ./main.ts --lib es2015,dom --target es2015 --module umd --moduleResolution node
|
|
151
149
|
```
|
|
152
150
|
|
|
@@ -259,7 +257,7 @@ This project supports the VSCode devcontainer for any docker-installed OS.
|
|
|
259
257
|
|
|
260
258
|
Input the following command in the VSCode command palette.
|
|
261
259
|
|
|
262
|
-
```
|
|
260
|
+
```bash
|
|
263
261
|
> Remote-Containers: Reopen in Container
|
|
264
262
|
```
|
|
265
263
|
|
package/VERSION-FILE
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
v0.5.
|
|
1
|
+
v0.5.4-0-gb9c0bf17
|
|
2
2
|
master
|
|
@@ -2,9 +2,13 @@
|
|
|
2
2
|
/// <reference types="node" />
|
|
3
3
|
import Component from '../foundation/core/Component';
|
|
4
4
|
import EntityRepository from '../foundation/core/EntityRepository';
|
|
5
|
+
import SceneGraphComponent from '../foundation/components/SceneGraph/SceneGraphComponent';
|
|
6
|
+
import TransformComponent from '../foundation/components/Transform/TransformComponent';
|
|
7
|
+
import CameraComponent from '../foundation/components/Camera/CameraComponent';
|
|
5
8
|
import { ComponentTID, EntityUID, ComponentSID, Second } from '../types/CommonTypes';
|
|
6
9
|
import { IVector3 } from '../foundation/math/IVector';
|
|
7
10
|
import type { Unzip } from 'zlib';
|
|
11
|
+
import { IEntity } from '../foundation/core/Entity';
|
|
8
12
|
export default class EffekseerComponent extends Component {
|
|
9
13
|
static Unzip?: Unzip;
|
|
10
14
|
uri?: string;
|
|
@@ -49,4 +53,8 @@ export default class EffekseerComponent extends Component {
|
|
|
49
53
|
$load(): void;
|
|
50
54
|
$logic(): void;
|
|
51
55
|
$render(): void;
|
|
56
|
+
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
|
+
}
|
|
58
|
+
export interface IEffekseerEntityMethods {
|
|
59
|
+
getEffekseer(): EffekseerComponent;
|
|
52
60
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import EffekseerComponent from './EffekseerComponent';
|
|
2
2
|
declare const Effekseer: Readonly<{
|
|
3
3
|
EffekseerComponent: typeof EffekseerComponent;
|
|
4
|
-
createEffekseerEntity: () => import("../foundation/core/Entity").
|
|
4
|
+
createEffekseerEntity: () => import("../foundation/core/Entity").IEntity & import("../foundation/components/Transform/ITransfomEntity").ITransformEntityMethods & import("../foundation/components/SceneGraph/ISceneGraphEntity").ISceneGraphEntityMethods & import("./EffekseerComponent").IEffekseerEntityMethods;
|
|
5
5
|
}>;
|
|
6
6
|
export default Effekseer;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import CameraComponent from '../components/CameraComponent';
|
|
2
|
-
import
|
|
1
|
+
import CameraComponent from '../components/Camera/CameraComponent';
|
|
2
|
+
import { IGroupEntity } 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?: IGroupEntity;
|
|
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: IGroupEntity): void;
|
|
13
|
+
abstract getTarget(): IGroupEntity | undefined;
|
|
14
14
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import CameraComponent from '../components/CameraComponent';
|
|
2
|
-
import
|
|
1
|
+
import CameraComponent from '../components/Camera/CameraComponent';
|
|
2
|
+
import { IGroupEntity } 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: IGroupEntity): void;
|
|
8
|
+
getTarget(): IGroupEntity | undefined;
|
|
9
9
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import CameraComponent from '../components/CameraComponent';
|
|
2
|
-
import Entity from '../core/Entity';
|
|
1
|
+
import CameraComponent from '../components/Camera/CameraComponent';
|
|
3
2
|
import { Size } from '../../types/CommonTypes';
|
|
4
3
|
import ICameraController from './ICameraController';
|
|
5
4
|
import AbstractCameraController from './AbstractCameraController';
|
|
5
|
+
import { IGroupEntity } from '../helpers/EntityHelper';
|
|
6
6
|
export default class OrbitCameraController extends AbstractCameraController implements ICameraController {
|
|
7
7
|
eventTargetDom?: HTMLElement;
|
|
8
8
|
dollyScale: number;
|
|
@@ -35,7 +35,7 @@ export default class OrbitCameraController extends AbstractCameraController impl
|
|
|
35
35
|
private __eyeVec;
|
|
36
36
|
private __centerVec;
|
|
37
37
|
private __upVec;
|
|
38
|
-
protected __targetEntity?:
|
|
38
|
+
protected __targetEntity?: IGroupEntity;
|
|
39
39
|
private __scaleOfZNearAndZFar;
|
|
40
40
|
private __doPreventDefault;
|
|
41
41
|
private __isPressingShift;
|
|
@@ -74,8 +74,8 @@ export default class OrbitCameraController extends AbstractCameraController impl
|
|
|
74
74
|
private static __tmp_rotateM_Revert;
|
|
75
75
|
private static __tmpMat44_0;
|
|
76
76
|
constructor();
|
|
77
|
-
setTarget(targetEntity:
|
|
78
|
-
getTarget():
|
|
77
|
+
setTarget(targetEntity: IGroupEntity): void;
|
|
78
|
+
getTarget(): IGroupEntity | undefined;
|
|
79
79
|
set doPreventDefault(flag: boolean);
|
|
80
80
|
get doPreventDefault(): boolean;
|
|
81
81
|
__mouseDown(e: MouseEvent): void;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import ICameraController from './ICameraController';
|
|
2
2
|
import MutableVector3 from '../math/MutableVector3';
|
|
3
|
-
import CameraComponent from '../components/CameraComponent';
|
|
4
|
-
import Entity from '../core/Entity';
|
|
3
|
+
import CameraComponent from '../components/Camera/CameraComponent';
|
|
5
4
|
import AbstractCameraController from './AbstractCameraController';
|
|
5
|
+
import { IGroupEntity } 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?: IGroupEntity;
|
|
41
41
|
private static __tmpInvMat;
|
|
42
42
|
private static __tmpRotateMat;
|
|
43
43
|
private static __tmp_Vec3_0;
|
|
@@ -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: IGroupEntity): void;
|
|
72
|
+
getTarget(): IGroupEntity | undefined;
|
|
73
73
|
get allInfo(): any;
|
|
74
74
|
set allInfo(arg: any);
|
|
75
75
|
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import Component from '../../core/Component';
|
|
2
|
+
import EntityRepository from '../../core/EntityRepository';
|
|
3
|
+
import { AnimationInterpolationEnum } from '../../definitions/AnimationInterpolation';
|
|
4
|
+
import TransformComponent from '../Transform/TransformComponent';
|
|
5
|
+
import MeshComponent from '../Mesh/MeshComponent';
|
|
6
|
+
import { ComponentTID, ComponentSID, EntityUID, VectorComponentN } from '../../../types/CommonTypes';
|
|
7
|
+
import { AnimationPathName, AnimationTrack, AnimationComponentEventType, AnimationInfo, AnimationTrackName } from '../../../types/AnimationTypes';
|
|
8
|
+
import { EventHandler } from '../../system/EventPubSub';
|
|
9
|
+
import { IAnimationEntity } from '../../helpers/EntityHelper';
|
|
10
|
+
import { IEntity } from '../../core/Entity';
|
|
11
|
+
export default class AnimationComponent extends Component {
|
|
12
|
+
private __backupDefaultValues;
|
|
13
|
+
private __currentActiveAnimationTrackName?;
|
|
14
|
+
private __animationTracks;
|
|
15
|
+
private __transformComponent?;
|
|
16
|
+
private __meshComponent?;
|
|
17
|
+
private __isAnimating;
|
|
18
|
+
static globalTime: number;
|
|
19
|
+
static readonly Event: {
|
|
20
|
+
ChangeAnimationInfo: symbol;
|
|
21
|
+
PlayEnd: symbol;
|
|
22
|
+
};
|
|
23
|
+
private static __animationGlobalInfo;
|
|
24
|
+
private static __pubsub;
|
|
25
|
+
private static __componentRepository;
|
|
26
|
+
constructor(entityUid: EntityUID, componentSid: ComponentSID, entityRepository: EntityRepository);
|
|
27
|
+
$create(): void;
|
|
28
|
+
$logic(): void;
|
|
29
|
+
static subscribe(type: AnimationComponentEventType, handler: EventHandler): void;
|
|
30
|
+
/**
|
|
31
|
+
* Compute cubic spline interpolation.
|
|
32
|
+
* @param p_0 starting point
|
|
33
|
+
* @param p_1 ending point
|
|
34
|
+
* @param m_0 inTangent
|
|
35
|
+
* @param m_1 outTangent
|
|
36
|
+
* @param t ratio
|
|
37
|
+
* @param animationAttributeIndex index of attribution
|
|
38
|
+
*/
|
|
39
|
+
static cubicSpline(p0: Array<number>, p1: Array<number>, m0: Array<number>, m1: Array<number>, t: number): Array<number>;
|
|
40
|
+
static binarySearch(inputArray: Float32Array, currentTime: number): number;
|
|
41
|
+
static interpolationSearch(inputArray: Float32Array, currentTime: number): number;
|
|
42
|
+
static bruteForceSearch(inputArray: Float32Array, currentTime: number): number;
|
|
43
|
+
private restoreDefaultValues;
|
|
44
|
+
private backupDefaultValues;
|
|
45
|
+
setAnimating(flg: boolean): void;
|
|
46
|
+
setAnimationToRest(): void;
|
|
47
|
+
static setAnimatingForAll(flg: boolean): void;
|
|
48
|
+
static setActiveAnimationForAll(animationName: AnimationTrackName): void;
|
|
49
|
+
setActiveAnimation(animationName: AnimationTrackName): boolean;
|
|
50
|
+
setAnimation(trackName: AnimationTrackName, pathName: AnimationPathName, inputArray: Float32Array, outputArray: Float32Array, outputComponentN: VectorComponentN, interpolation: AnimationInterpolationEnum, makeThisActiveAnimation?: boolean): void;
|
|
51
|
+
getStartInputValueOfAnimation(animationTrackName?: string): number;
|
|
52
|
+
getEndInputValueOfAnimation(animationTrackName?: string): number;
|
|
53
|
+
/**
|
|
54
|
+
* get the Array of Animation Track Name
|
|
55
|
+
* @returns Array of Animation Track Name
|
|
56
|
+
*/
|
|
57
|
+
static getAnimationList(): AnimationTrackName[];
|
|
58
|
+
/**
|
|
59
|
+
* get the AnimationInfo of the Component
|
|
60
|
+
* @returns the map of
|
|
61
|
+
*/
|
|
62
|
+
static getAnimationInfo(): Map<AnimationTrackName, AnimationInfo>;
|
|
63
|
+
/**
|
|
64
|
+
* get animation track names of this component
|
|
65
|
+
* @returns an array of animation track name
|
|
66
|
+
*/
|
|
67
|
+
getAnimationTrackNames(): AnimationTrackName[];
|
|
68
|
+
/**
|
|
69
|
+
* get the animation channels of the animation track
|
|
70
|
+
* @param animationTrackName the name of animation track to get
|
|
71
|
+
* @returns the channel maps of the animation track
|
|
72
|
+
*/
|
|
73
|
+
getAnimationChannelsOfTrack(animationTrackName: AnimationTrackName): AnimationTrack | undefined;
|
|
74
|
+
get isAnimating(): boolean;
|
|
75
|
+
static get startInputValue(): number;
|
|
76
|
+
static get endInputValue(): number;
|
|
77
|
+
static get isAnimating(): boolean;
|
|
78
|
+
static get componentTID(): ComponentTID;
|
|
79
|
+
private static __prepareVariablesForCubicSpline;
|
|
80
|
+
private static __getOutputValue;
|
|
81
|
+
private static __lerp;
|
|
82
|
+
private static __interpolate;
|
|
83
|
+
/**
|
|
84
|
+
* get the entity which has this component.
|
|
85
|
+
* @returns the entity which has this component
|
|
86
|
+
*/
|
|
87
|
+
get entity(): IAnimationEntity;
|
|
88
|
+
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;
|
|
89
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import Component from '../../core/Component';
|
|
2
|
+
import EntityRepository from '../../core/EntityRepository';
|
|
3
|
+
import { ComponentTID, ComponentSID, EntityUID } from '../../../types/CommonTypes';
|
|
4
|
+
import { IEntity } from '../../core/Entity';
|
|
5
|
+
export default class BlendShapeComponent extends Component {
|
|
6
|
+
private __weights;
|
|
7
|
+
private __targetNames;
|
|
8
|
+
constructor(entityUid: EntityUID, componentSid: ComponentSID, entityComponent: EntityRepository);
|
|
9
|
+
static get componentTID(): ComponentTID;
|
|
10
|
+
set weights(weights: number[]);
|
|
11
|
+
get weights(): number[];
|
|
12
|
+
set targetNames(names: string[]);
|
|
13
|
+
get targetNames(): string[];
|
|
14
|
+
$logic(): void;
|
|
15
|
+
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
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
import Component from '../../core/Component';
|
|
2
|
+
import EntityRepository from '../../core/EntityRepository';
|
|
3
|
+
import Vector3 from '../../math/Vector3';
|
|
4
|
+
import Vector4 from '../../math/Vector4';
|
|
5
|
+
import { CameraTypeEnum } from '../../definitions/CameraType';
|
|
6
|
+
import Matrix44 from '../../math/Matrix44';
|
|
7
|
+
import SceneGraphComponent from '../SceneGraph/SceneGraphComponent';
|
|
8
|
+
import MutableMatrix44 from '../../math/MutableMatrix44';
|
|
9
|
+
import MutableVector3 from '../../math/MutableVector3';
|
|
10
|
+
import { Frustum } from '../../geometry/Frustum';
|
|
11
|
+
import { ComponentTID, ComponentSID, EntityUID } from '../../../types/CommonTypes';
|
|
12
|
+
import CameraControllerComponent from '../CameraController/CameraControllerComponent';
|
|
13
|
+
import RenderPass from '../../renderer/RenderPass';
|
|
14
|
+
import { ICameraEntity } from '../../helpers/EntityHelper';
|
|
15
|
+
import { IEntity } from '../../core/Entity';
|
|
16
|
+
export default class CameraComponent extends Component {
|
|
17
|
+
private static readonly _eye;
|
|
18
|
+
private _eyeInner;
|
|
19
|
+
private _direction;
|
|
20
|
+
private _directionInner;
|
|
21
|
+
private _up;
|
|
22
|
+
private _upInner;
|
|
23
|
+
private _filmWidth;
|
|
24
|
+
private _filmHeight;
|
|
25
|
+
private _focalLength;
|
|
26
|
+
private _corner;
|
|
27
|
+
private _cornerInner;
|
|
28
|
+
private _parameters;
|
|
29
|
+
private _parametersInner;
|
|
30
|
+
private __type;
|
|
31
|
+
private __sceneGraphComponent?;
|
|
32
|
+
private _projectionMatrix;
|
|
33
|
+
private __isProjectionMatrixUpToDate;
|
|
34
|
+
private _viewMatrix;
|
|
35
|
+
private __isViewMatrixUpToDate;
|
|
36
|
+
private static __main;
|
|
37
|
+
private static returnVector3;
|
|
38
|
+
private static __globalDataRepository;
|
|
39
|
+
private static __tmpVector3_0;
|
|
40
|
+
private static __tmpVector3_1;
|
|
41
|
+
private static __tmpVector3_2;
|
|
42
|
+
private static __tmpMatrix44_0;
|
|
43
|
+
private __frustum;
|
|
44
|
+
constructor(entityUid: EntityUID, componentSid: ComponentSID, entityRepository: EntityRepository);
|
|
45
|
+
static set main(componentSID: ComponentSID);
|
|
46
|
+
static get main(): ComponentSID;
|
|
47
|
+
set type(type: CameraTypeEnum);
|
|
48
|
+
get type(): CameraTypeEnum;
|
|
49
|
+
get eye(): Vector3;
|
|
50
|
+
set eye(noUseVec: Vector3);
|
|
51
|
+
get eyeInner(): Vector3;
|
|
52
|
+
/**
|
|
53
|
+
* @private
|
|
54
|
+
*/
|
|
55
|
+
set eyeInner(vec: Vector3);
|
|
56
|
+
set upInner(vec: Vector3);
|
|
57
|
+
set up(vec: Vector3);
|
|
58
|
+
get up(): Vector3;
|
|
59
|
+
get upInner(): Vector3;
|
|
60
|
+
set direction(vec: Vector3);
|
|
61
|
+
set directionInner(vec: Vector3);
|
|
62
|
+
get direction(): Vector3;
|
|
63
|
+
get directionInner(): Vector3;
|
|
64
|
+
set corner(vec: Vector4);
|
|
65
|
+
get corner(): Vector4;
|
|
66
|
+
set left(value: number);
|
|
67
|
+
set leftInner(value: number);
|
|
68
|
+
get left(): number;
|
|
69
|
+
set right(value: number);
|
|
70
|
+
set rightInner(value: number);
|
|
71
|
+
get right(): number;
|
|
72
|
+
set top(value: number);
|
|
73
|
+
set topInner(value: number);
|
|
74
|
+
get top(): number;
|
|
75
|
+
set bottom(value: number);
|
|
76
|
+
set bottomInner(value: number);
|
|
77
|
+
get bottom(): number;
|
|
78
|
+
set cornerInner(vec: Vector4);
|
|
79
|
+
get cornerInner(): Vector4;
|
|
80
|
+
set parametersInner(vec: Vector4);
|
|
81
|
+
get parametersInner(): Vector4;
|
|
82
|
+
get parameters(): Vector4;
|
|
83
|
+
set zNear(val: number);
|
|
84
|
+
set zNearInner(val: number);
|
|
85
|
+
get zNearInner(): number;
|
|
86
|
+
get zNear(): number;
|
|
87
|
+
set focalLength(val: number);
|
|
88
|
+
get focalLength(): number;
|
|
89
|
+
set zFar(val: number);
|
|
90
|
+
set zFarInner(val: number);
|
|
91
|
+
get zFarInner(): number;
|
|
92
|
+
get zFar(): number;
|
|
93
|
+
setFovyAndChangeFilmSize(degree: number): void;
|
|
94
|
+
setFovyAndChangeFocalLength(degree: number): void;
|
|
95
|
+
get fovy(): number;
|
|
96
|
+
set fovyInner(val: number);
|
|
97
|
+
set aspect(val: number);
|
|
98
|
+
get aspect(): number;
|
|
99
|
+
set xMag(val: number);
|
|
100
|
+
get xMag(): number;
|
|
101
|
+
set yMag(val: number);
|
|
102
|
+
get yMag(): number;
|
|
103
|
+
static get componentTID(): ComponentTID;
|
|
104
|
+
calcProjectionMatrix(): MutableMatrix44;
|
|
105
|
+
get projectionMatrix(): Matrix44;
|
|
106
|
+
calcViewMatrix(): MutableMatrix44;
|
|
107
|
+
get viewMatrix(): Matrix44;
|
|
108
|
+
set viewMatrix(viewMatrix: Matrix44);
|
|
109
|
+
set projectionMatrix(projectionMatrix: Matrix44);
|
|
110
|
+
get viewProjectionMatrix(): MutableMatrix44;
|
|
111
|
+
setValuesToGlobalDataRepositoryOnlyMatrices(): void;
|
|
112
|
+
setValuesToGlobalDataRepository(): void;
|
|
113
|
+
get worldPosition(): MutableVector3;
|
|
114
|
+
updateFrustum(): void;
|
|
115
|
+
get frustum(): Frustum;
|
|
116
|
+
$create(): void;
|
|
117
|
+
$logic({ renderPass }: {
|
|
118
|
+
renderPass: RenderPass;
|
|
119
|
+
}): void;
|
|
120
|
+
/**
|
|
121
|
+
* get the entity which has this component.
|
|
122
|
+
* @returns the entity which has this component
|
|
123
|
+
*/
|
|
124
|
+
get entity(): ICameraEntity;
|
|
125
|
+
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
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import Component from '../../core/Component';
|
|
2
|
+
import { EntityUID, ComponentSID, ComponentTID } from '../../../types/CommonTypes';
|
|
3
|
+
import EntityRepository from '../../core/EntityRepository';
|
|
4
|
+
import CameraComponent from '../Camera/CameraComponent';
|
|
5
|
+
import ICameraController from '../../cameras/ICameraController';
|
|
6
|
+
import { CameraControllerTypeEnum } from '../../definitions/CameraControllerType';
|
|
7
|
+
import { IEntity } from '../../core/Entity';
|
|
8
|
+
export default class CameraControllerComponent extends Component {
|
|
9
|
+
private __cameraComponent?;
|
|
10
|
+
private __cameraController;
|
|
11
|
+
constructor(entityUid: EntityUID, componentSid: ComponentSID, entityRepository: EntityRepository);
|
|
12
|
+
set type(type: CameraControllerTypeEnum);
|
|
13
|
+
get type(): CameraControllerTypeEnum;
|
|
14
|
+
get controller(): ICameraController;
|
|
15
|
+
static get componentTID(): ComponentTID;
|
|
16
|
+
$create(): void;
|
|
17
|
+
$logic(): void;
|
|
18
|
+
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 CameraControllerComponent ? import("./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("./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("./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;
|
|
19
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { MixinBase } from '../../types/TypeGenerators';
|
|
2
|
+
import Component from '../core/Component';
|
|
3
|
+
import AnimationComponent from './Animation/AnimationComponent';
|
|
4
|
+
import { IAnimationEntityMethods } from './Animation/IAnimationEntity';
|
|
5
|
+
import BlendShapeComponent from './BlendShape/BlendShapeComponent';
|
|
6
|
+
import { IBlendShapeEntityMethods } from './BlendShape/IBlendShapeEntity';
|
|
7
|
+
import { ICameraEntityMethods } from './Camera/ICameraEntity';
|
|
8
|
+
import CameraControllerComponent from './CameraController/CameraControllerComponent';
|
|
9
|
+
import { ICameraControllerEntityMethods } from './CameraController/ICameraControllerEntity';
|
|
10
|
+
import { ILightEntityMethods } from './Light/ILightEntity';
|
|
11
|
+
import LightComponent from './Light/LightComponent';
|
|
12
|
+
import { IMeshEntityMethods } from './Mesh/IMeshEntity';
|
|
13
|
+
import MeshComponent from './Mesh/MeshComponent';
|
|
14
|
+
import { IMeshRendererEntityMethods } from './MeshRenderer/IMeshRendererEntity';
|
|
15
|
+
import MeshRendererComponent from './MeshRenderer/MeshRendererComponent';
|
|
16
|
+
import { IPhysicsEntityMethods } from './Physics/IPhysicsEntity';
|
|
17
|
+
import PhysicsComponent from './Physics/PhysicsComponent';
|
|
18
|
+
import { ISceneGraphEntityMethods } from './SceneGraph/ISceneGraphEntity';
|
|
19
|
+
import SceneGraphComponent from './SceneGraph/SceneGraphComponent';
|
|
20
|
+
import { ISkeletalEntityMethods } from './Skeletal/ISkeletalEntity';
|
|
21
|
+
import SkeletalComponent from './Skeletal/SkeletalComponent';
|
|
22
|
+
import { ITransformEntityMethods } from './Transform/ITransfomEntity';
|
|
23
|
+
import TransformComponent from './Transform/TransformComponent';
|
|
24
|
+
import EffekseerComponent, { IEffekseerEntityMethods } from '../../effekseer/EffekseerComponent';
|
|
25
|
+
import SparkGearComponent, { ISparkGearEntityMethods } from '../../sparkgear/SparkGearComponent';
|
|
26
|
+
import CameraComponent from './Camera/CameraComponent';
|
|
27
|
+
export declare type ComponentMixinFunction = <EntityBaseClass extends MixinBase>(baseClass: EntityBaseClass, components: typeof Component[]) => {
|
|
28
|
+
entityClass: MixinBase;
|
|
29
|
+
components: typeof Component[];
|
|
30
|
+
};
|
|
31
|
+
declare type AllWellKnownComponentMethodsTypes = IAnimationEntityMethods | ITransformEntityMethods | ISceneGraphEntityMethods | IMeshEntityMethods | IMeshRendererEntityMethods | ICameraEntityMethods | ICameraControllerEntityMethods | ILightEntityMethods | ISkeletalEntityMethods | IBlendShapeEntityMethods | IPhysicsEntityMethods | IEffekseerEntityMethods | ISparkGearEntityMethods;
|
|
32
|
+
declare type IsThisAnimation<T extends typeof Component, Possibles extends AllWellKnownComponentMethodsTypes> = T extends typeof AnimationComponent ? IAnimationEntityMethods : Exclude<Possibles, IAnimationEntityMethods>;
|
|
33
|
+
declare type IsThisTransform<T extends typeof Component, Possibles extends AllWellKnownComponentMethodsTypes> = T extends typeof TransformComponent ? ITransformEntityMethods : Exclude<Possibles, ITransformEntityMethods>;
|
|
34
|
+
declare type IsThisSceneGraph<T extends typeof Component, Possibles extends AllWellKnownComponentMethodsTypes> = T extends typeof SceneGraphComponent ? ISceneGraphEntityMethods : Exclude<Possibles, ISceneGraphEntityMethods>;
|
|
35
|
+
declare type IsThisMesh<T extends typeof Component, Possibles extends AllWellKnownComponentMethodsTypes> = T extends typeof MeshComponent ? IMeshEntityMethods : Exclude<Possibles, IMeshEntityMethods>;
|
|
36
|
+
declare type IsThisMeshRenderer<T extends typeof Component, Possibles extends AllWellKnownComponentMethodsTypes> = T extends typeof MeshRendererComponent ? IMeshRendererEntityMethods : Exclude<Possibles, IMeshRendererEntityMethods>;
|
|
37
|
+
declare type IsThisCameraController<T extends typeof Component, Possibles extends AllWellKnownComponentMethodsTypes> = T extends typeof CameraControllerComponent ? ICameraControllerEntityMethods : Exclude<Possibles, ICameraControllerEntityMethods>;
|
|
38
|
+
declare type IsThisCamera<T extends typeof Component, Possibles extends AllWellKnownComponentMethodsTypes> = T extends typeof CameraComponent ? ICameraEntityMethods : Exclude<Possibles, ICameraEntityMethods>;
|
|
39
|
+
declare type IsThisLight<T extends typeof Component, Possibles extends AllWellKnownComponentMethodsTypes> = T extends typeof LightComponent ? ILightEntityMethods : Exclude<Possibles, ILightEntityMethods>;
|
|
40
|
+
declare type IsThisSkeletal<T extends typeof Component, Possibles extends AllWellKnownComponentMethodsTypes> = T extends typeof SkeletalComponent ? ISkeletalEntityMethods : Exclude<Possibles, ISkeletalEntityMethods>;
|
|
41
|
+
declare type IsThisBlendShape<T extends typeof Component, Possibles extends AllWellKnownComponentMethodsTypes> = T extends typeof BlendShapeComponent ? IBlendShapeEntityMethods : Exclude<Possibles, IBlendShapeEntityMethods>;
|
|
42
|
+
declare type IsThisPhysics<T extends typeof Component, Possibles extends AllWellKnownComponentMethodsTypes> = T extends typeof PhysicsComponent ? IPhysicsEntityMethods : Exclude<Possibles, IPhysicsEntityMethods>;
|
|
43
|
+
declare type IsThisEffekseer<T extends typeof Component, Possibles extends AllWellKnownComponentMethodsTypes> = T extends typeof EffekseerComponent ? IEffekseerEntityMethods : Exclude<Possibles, IEffekseerEntityMethods>;
|
|
44
|
+
declare type IsThisSparkGear<T extends typeof Component, Possibles extends AllWellKnownComponentMethodsTypes> = T extends typeof SparkGearComponent ? ISparkGearEntityMethods : Exclude<Possibles, ISparkGearEntityMethods>;
|
|
45
|
+
export declare type ComponentToComponentMethods<T extends typeof Component> = IsThisSparkGear<T, IsThisEffekseer<T, IsThisPhysics<T, IsThisBlendShape<T, IsThisSkeletal<T, IsThisLight<T, IsThisCamera<T, IsThisCameraController<T, IsThisMeshRenderer<T, IsThisMesh<T, IsThisSceneGraph<T, IsThisTransform<T, IsThisAnimation<T, AllWellKnownComponentMethodsTypes>>>>>>>>>>>>>;
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import Component from '../../core/Component';
|
|
2
|
+
import EntityRepository from '../../core/EntityRepository';
|
|
3
|
+
import Vector3 from '../../math/Vector3';
|
|
4
|
+
import SceneGraphComponent from '../SceneGraph/SceneGraphComponent';
|
|
5
|
+
import { ComponentTID, EntityUID, ComponentSID } from '../../../types/CommonTypes';
|
|
6
|
+
import { ILightEntity } from '../../helpers/EntityHelper';
|
|
7
|
+
import { IEntity } from '../../core/Entity';
|
|
8
|
+
export default class LightComponent extends Component {
|
|
9
|
+
type: import("../../misc/EnumIO").EnumIO;
|
|
10
|
+
private __intensity;
|
|
11
|
+
private readonly __initialdirection;
|
|
12
|
+
private __direction;
|
|
13
|
+
spotExponent: number;
|
|
14
|
+
spotCutoff: number;
|
|
15
|
+
range: number;
|
|
16
|
+
private __sceneGraphComponent?;
|
|
17
|
+
private static __componentRepository;
|
|
18
|
+
private static __globalDataRepository;
|
|
19
|
+
private static __tmp_vec4;
|
|
20
|
+
private static __lightPositions;
|
|
21
|
+
private static __lightDirections;
|
|
22
|
+
private static __lightIntensities;
|
|
23
|
+
constructor(entityUid: EntityUID, componentSid: ComponentSID, entityRepository: EntityRepository);
|
|
24
|
+
static get componentTID(): ComponentTID;
|
|
25
|
+
get direction(): Vector3;
|
|
26
|
+
set intensity(value: Vector3);
|
|
27
|
+
get intensity(): Vector3;
|
|
28
|
+
$create(): void;
|
|
29
|
+
$load(): void;
|
|
30
|
+
$logic(): void;
|
|
31
|
+
/**
|
|
32
|
+
* get the entity which has this component.
|
|
33
|
+
* @returns the entity which has this component
|
|
34
|
+
*/
|
|
35
|
+
get entity(): ILightEntity;
|
|
36
|
+
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 LightComponent ? import("./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("./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("./ILightEntity").ILightEntityMethods>, import("../Skeletal/ISkeletalEntity").ISkeletalEntityMethods>, import("../BlendShape/IBlendShapeEntity").IBlendShapeEntityMethods>, import("../Physics/IPhysicsEntity").IPhysicsEntityMethods>, import("../../../effekseer/EffekseerComponent").IEffekseerEntityMethods>, import("../../../sparkgear/SparkGearComponent").ISparkGearEntityMethods>) & EntityBase;
|
|
37
|
+
}
|