add light probe group help (#15797)

This commit is contained in:
李吉林
2023-07-21 15:19:24 +08:00
committed by GitHub
parent 3ca7d08db3
commit 72db3322bd
5 changed files with 5 additions and 8 deletions
+1 -7
View File
@@ -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
+1
View File
@@ -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`,
+1
View File
@@ -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`,
-1
View File
@@ -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;