mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
add light probe group help (#15797)
This commit is contained in:
@@ -297,13 +297,10 @@ export class Vec2 extends ValueType {
|
||||
* @override (a:Vec2, b:Vec2) => number
|
||||
* @override [deprecated] (out:Vec3, a:Vec2, b:Vec2) => Vec3
|
||||
*/
|
||||
/**
|
||||
* @deprecated since v3.8.0, There is no physical meaning.
|
||||
*/
|
||||
public static cross (a: IVec2Like, b: IVec2Like): number;
|
||||
|
||||
/**
|
||||
* @deprecated since v3.8.0, There is no physical meaning.
|
||||
* @deprecated Consider use another overrides please.
|
||||
*/
|
||||
public static cross <Out extends IVec2Like> (out: Vec3, a: Out, b: Out): Vec3;
|
||||
|
||||
@@ -719,9 +716,6 @@ export class Vec2 extends ValueType {
|
||||
* @param other specified vector
|
||||
* @return `out`
|
||||
*/
|
||||
/**
|
||||
* @deprecated since v3.8.0, There is no physical meaning.
|
||||
*/
|
||||
public cross (other: Vec2): number {
|
||||
return this.x * other.y - this.y * other.x;
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ import {
|
||||
displayName,
|
||||
editable,
|
||||
executeInEditMode,
|
||||
help,
|
||||
menu,
|
||||
range,
|
||||
serializable,
|
||||
@@ -46,6 +47,7 @@ import { AutoPlacement, PlaceMethod } from './auto-placement';
|
||||
* @zh 光照探针组组件。
|
||||
*/
|
||||
@ccclass('cc.LightProbeGroup')
|
||||
@help('i18n:cc.LightProbeGroup')
|
||||
@menu('Rendering/LightProbeGroup')
|
||||
@disallowMultiple
|
||||
@executeInEditMode
|
||||
|
||||
@@ -71,6 +71,7 @@ module.exports = link(mixin({
|
||||
DirectionalLight: `${url}/${version}/manual/en/concepts/scene/light/lightType/dir-light.html`,
|
||||
SphereLight: `${url}/${version}/manual/en/concepts/scene/light/lightType/sphere-light.html`,
|
||||
SpotLight: `${url}/${version}/manual/en/concepts/scene/light/lightType/spot-light.html`,
|
||||
LightProbeGroup: `${url}/${version}/manual/en/concepts/scene/light/probe/light-probe.html`,
|
||||
UICoordinateTracker: `${url}/${version}/manual/en/ui-system/components/editor/ui-coordinate-tracker.html`,
|
||||
Animation: `${url}/${version}/manual/en/animation/animation-component.html`,
|
||||
SkeletalAnimation: `${url}/${version}/manual/en/animation/skeletal-animation.html`,
|
||||
|
||||
@@ -71,6 +71,7 @@ module.exports = link(mixin({
|
||||
DirectionalLight: `${url}/${version}/manual/zh/concepts/scene/light/lightType/dir-light.html`,
|
||||
SphereLight: `${url}/${version}/manual/zh/concepts/scene/light/lightType/sphere-light.html`,
|
||||
SpotLight: `${url}/${version}/manual/zh/concepts/scene/light/lightType/spot-light.html`,
|
||||
LightProbeGroup: `${url}/${version}/manual/zh/concepts/scene/light/probe/light-probe.html`,
|
||||
UICoordinateTracker: `${url}/${version}/manual/zh/ui-system/components/editor/ui-coordinate-tracker.html`,
|
||||
Animation: `${url}/${version}/manual/zh/animation/animation-component.html`,
|
||||
SkeletalAnimation: `${url}/${version}/manual/zh/animation/skeletal-animation.html`,
|
||||
|
||||
@@ -510,7 +510,6 @@ public:
|
||||
/** Calculates cross product of two points.
|
||||
@return float
|
||||
@since v2.1.4
|
||||
@deprecated since v3.8.0, There is no physical meaning.
|
||||
*/
|
||||
inline float cross(const Vec2 &other) const {
|
||||
return x * other.y - y * other.x;
|
||||
|
||||
Reference in New Issue
Block a user