diff --git a/cocos/animation/animation-blend-state.ts b/cocos/animation/animation-blend-state.ts index 3b91676334..51cbe32b05 100644 --- a/cocos/animation/animation-blend-state.ts +++ b/cocos/animation/animation-blend-state.ts @@ -1,3 +1,7 @@ +/** + * @category animation + */ + import { CurveTarget } from './animation-curve'; // tslint:disable:interface-over-type-literal diff --git a/cocos/animation/animation-clip.ts b/cocos/animation/animation-clip.ts index 0213cc3941..31aef336b4 100644 --- a/cocos/animation/animation-clip.ts +++ b/cocos/animation/animation-clip.ts @@ -1,3 +1,8 @@ + +/** + * @category animation + */ + import { Asset, SpriteFrame } from '../assets'; import { ccclass, property } from '../core/data/class-decorator'; import { errorID } from '../core/platform/CCDebug'; diff --git a/cocos/animation/animation-curve.ts b/cocos/animation/animation-curve.ts index a995d9f7ea..0103320303 100644 --- a/cocos/animation/animation-curve.ts +++ b/cocos/animation/animation-curve.ts @@ -1,3 +1,7 @@ +/** + * @category animation + */ + import { ccclass, property } from '../core/data/class-decorator'; import { binarySearchEpsilon as binarySearch } from '../core/data/utils/binary-search'; import { error, errorID } from '../core/platform/CCDebug'; diff --git a/cocos/animation/animation-manager.ts b/cocos/animation/animation-manager.ts index 49c32f53a7..89b1f12684 100644 --- a/cocos/animation/animation-manager.ts +++ b/cocos/animation/animation-manager.ts @@ -1,3 +1,7 @@ +/** + * @category animation + */ + import { ccclass } from '../core/data/class-decorator'; import { errorID } from '../core/platform/CCDebug'; import { MutableForwardIterator, remove } from '../core/utils/array'; diff --git a/cocos/animation/animation-state.ts b/cocos/animation/animation-state.ts index 64a965f486..10f460196d 100644 --- a/cocos/animation/animation-state.ts +++ b/cocos/animation/animation-state.ts @@ -1,3 +1,7 @@ +/** + * @category animation + */ + import { Component } from '../components'; import { binarySearchEpsilon as binarySearch } from '../core/data/utils/binary-search'; import { EventArgumentsOf, EventCallbackOf } from '../core/event/defines'; diff --git a/cocos/animation/bezier.ts b/cocos/animation/bezier.ts index 0be6e9afdb..f28ed64e93 100644 --- a/cocos/animation/bezier.ts +++ b/cocos/animation/bezier.ts @@ -1,4 +1,8 @@ +/** + * @category animation + */ + export type BezierControlPoints = [ number, number, number, number ]; export function bezier (C1: number, C2: number, C3: number, C4: number, t: number) { diff --git a/cocos/animation/blending.ts b/cocos/animation/blending.ts index 48410629ad..1a72dd2192 100644 --- a/cocos/animation/blending.ts +++ b/cocos/animation/blending.ts @@ -1,3 +1,7 @@ +/** + * @category animation + */ + import { Quat, Vec3 } from '../core/value-types'; import { quat, vec3 } from '../core/vmath'; import { PropertyBlendState } from './animation-blend-state'; diff --git a/cocos/animation/cross-fade.ts b/cocos/animation/cross-fade.ts index dcae841d9e..a77d97223b 100644 --- a/cocos/animation/cross-fade.ts +++ b/cocos/animation/cross-fade.ts @@ -1,3 +1,7 @@ +/** + * @category animation + */ + import { removeIf } from '../core/utils/array'; import { clamp01 } from '../core/vmath'; import { Node } from '../scene-graph'; diff --git a/cocos/animation/cubic-spline-value.ts b/cocos/animation/cubic-spline-value.ts index 2f06f789f1..750c837fc7 100644 --- a/cocos/animation/cubic-spline-value.ts +++ b/cocos/animation/cubic-spline-value.ts @@ -1,4 +1,8 @@ +/** + * @category animation + */ + import { ccclass, property } from '../core/data/class-decorator'; import { Quat, Vec2, Vec3, Vec4 } from '../core/value-types'; import * as vmath from '../core/vmath'; diff --git a/cocos/animation/easing.ts b/cocos/animation/easing.ts index 8c0f1a5769..9a86877747 100644 --- a/cocos/animation/easing.ts +++ b/cocos/animation/easing.ts @@ -1,4 +1,8 @@ +/** + * @category animation + */ + export function constant () { return 0; } diff --git a/cocos/animation/playable.ts b/cocos/animation/playable.ts index f05a6ac619..14e6cff35c 100644 --- a/cocos/animation/playable.ts +++ b/cocos/animation/playable.ts @@ -1,3 +1,7 @@ +/** + * @category animation + */ + import { getError } from '../core/platform/CCDebug'; export class Playable { diff --git a/cocos/animation/types.ts b/cocos/animation/types.ts index c5be961082..401a0491a5 100644 --- a/cocos/animation/types.ts +++ b/cocos/animation/types.ts @@ -1,4 +1,8 @@ +/** + * @category animation + */ + import { ccenum } from '../core/value-types/enum'; export enum WrapModeMask { diff --git a/cocos/components/animation-component.ts b/cocos/components/animation-component.ts index 43a9fa8aaa..c75d195e5d 100644 --- a/cocos/components/animation-component.ts +++ b/cocos/components/animation-component.ts @@ -1,4 +1,8 @@ +/** + * @category animation + */ + import { AnimationClip, AnimationState } from '../animation'; import { CrossFade } from '../animation/cross-fade'; import { Playable } from '../animation/playable'; diff --git a/cocos/core/value-types/color.ts b/cocos/core/value-types/color.ts index 6320e04505..47d485ec6b 100644 --- a/cocos/core/value-types/color.ts +++ b/cocos/core/value-types/color.ts @@ -24,6 +24,10 @@ THE SOFTWARE. */ +/** + * @category core/value-types + */ + import CCClass from '../data/class'; import { color4 } from '../vmath'; import { ValueType } from './value-type'; diff --git a/cocos/core/value-types/mat4.ts b/cocos/core/value-types/mat4.ts index 5de30c067c..6a48acbe0b 100644 --- a/cocos/core/value-types/mat4.ts +++ b/cocos/core/value-types/mat4.ts @@ -23,6 +23,10 @@ THE SOFTWARE. */ +/** + * @category core/value-types + */ + import CCClass from '../data/class'; import { mat4 as xmat4 } from '../vmath'; import Quat from './quat'; diff --git a/cocos/core/value-types/quat.ts b/cocos/core/value-types/quat.ts index 24c4e18858..2725fb8bb3 100644 --- a/cocos/core/value-types/quat.ts +++ b/cocos/core/value-types/quat.ts @@ -23,6 +23,10 @@ THE SOFTWARE. */ +/** + * @category core/value-types + */ + import CCClass from '../data/class'; import { quat as xquat } from '../vmath/quat'; import { ValueType } from './value-type'; diff --git a/cocos/core/value-types/rect.ts b/cocos/core/value-types/rect.ts index 242324b00f..35de41312d 100644 --- a/cocos/core/value-types/rect.ts +++ b/cocos/core/value-types/rect.ts @@ -24,6 +24,10 @@ THE SOFTWARE. */ +/** + * @category core/value-types + */ + import CCClass from '../data/class'; import Mat4 from './mat4'; import Size from './size'; diff --git a/cocos/core/value-types/size.ts b/cocos/core/value-types/size.ts index 8aee0380e2..470b958491 100644 --- a/cocos/core/value-types/size.ts +++ b/cocos/core/value-types/size.ts @@ -24,6 +24,10 @@ THE SOFTWARE. */ +/** + * @category core/value-types + */ + import CCClass from '../data/class'; import { ValueType } from './value-type'; diff --git a/cocos/core/value-types/value-type.ts b/cocos/core/value-types/value-type.ts index 6847af0eb4..9c16078a5e 100644 --- a/cocos/core/value-types/value-type.ts +++ b/cocos/core/value-types/value-type.ts @@ -24,6 +24,10 @@ THE SOFTWARE. */ +/** + * @category core/value-types + */ + import { errorID } from '../platform/CCDebug'; import * as js from '../utils/js'; diff --git a/cocos/core/value-types/vec2.ts b/cocos/core/value-types/vec2.ts index b5ad4871c8..d89821828c 100644 --- a/cocos/core/value-types/vec2.ts +++ b/cocos/core/value-types/vec2.ts @@ -24,6 +24,10 @@ THE SOFTWARE. */ +/** + * @category core/value-types + */ + import CCClass from '../data/class'; import {clamp, vec2} from '../vmath'; import Mat4 from './mat4'; diff --git a/cocos/core/value-types/vec3.ts b/cocos/core/value-types/vec3.ts index 42c98532c6..ccb4417c00 100644 --- a/cocos/core/value-types/vec3.ts +++ b/cocos/core/value-types/vec3.ts @@ -24,6 +24,10 @@ THE SOFTWARE. */ +/** + * @category core/value-types + */ + import CCClass from '../data/class'; import {clamp, vec3} from '../vmath'; import Mat4 from './mat4'; diff --git a/cocos/core/value-types/vec4.ts b/cocos/core/value-types/vec4.ts index 5010d3f1f7..9d7403f3fa 100644 --- a/cocos/core/value-types/vec4.ts +++ b/cocos/core/value-types/vec4.ts @@ -30,7 +30,7 @@ import Mat4 from './mat4'; import { ValueType } from './value-type'; /** - * @category Core/Math + * @category core/value-types */ /**