Category for value-types and animations (#4704)

This commit is contained in:
Leslie Leigh
2019-06-26 09:57:21 +08:00
committed by Weiliang Wang
parent 4aa55fa055
commit c5b5afc8a7
22 changed files with 86 additions and 1 deletions
+4
View File
@@ -1,3 +1,7 @@
/**
* @category animation
*/
import { CurveTarget } from './animation-curve';
// tslint:disable:interface-over-type-literal
+5
View File
@@ -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';
+4
View File
@@ -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';
+4
View File
@@ -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';
+4
View File
@@ -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';
+4
View File
@@ -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) {
+4
View File
@@ -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';
+4
View File
@@ -1,3 +1,7 @@
/**
* @category animation
*/
import { removeIf } from '../core/utils/array';
import { clamp01 } from '../core/vmath';
import { Node } from '../scene-graph';
+4
View File
@@ -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';
+4
View File
@@ -1,4 +1,8 @@
/**
* @category animation
*/
export function constant () {
return 0;
}
+4
View File
@@ -1,3 +1,7 @@
/**
* @category animation
*/
import { getError } from '../core/platform/CCDebug';
export class Playable {
+4
View File
@@ -1,4 +1,8 @@
/**
* @category animation
*/
import { ccenum } from '../core/value-types/enum';
export enum WrapModeMask {
+4
View File
@@ -1,4 +1,8 @@
/**
* @category animation
*/
import { AnimationClip, AnimationState } from '../animation';
import { CrossFade } from '../animation/cross-fade';
import { Playable } from '../animation/playable';
+4
View File
@@ -24,6 +24,10 @@
THE SOFTWARE.
*/
/**
* @category core/value-types
*/
import CCClass from '../data/class';
import { color4 } from '../vmath';
import { ValueType } from './value-type';
+4
View File
@@ -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';
+4
View File
@@ -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';
+4
View File
@@ -24,6 +24,10 @@
THE SOFTWARE.
*/
/**
* @category core/value-types
*/
import CCClass from '../data/class';
import Mat4 from './mat4';
import Size from './size';
+4
View File
@@ -24,6 +24,10 @@
THE SOFTWARE.
*/
/**
* @category core/value-types
*/
import CCClass from '../data/class';
import { ValueType } from './value-type';
+4
View File
@@ -24,6 +24,10 @@
THE SOFTWARE.
*/
/**
* @category core/value-types
*/
import { errorID } from '../platform/CCDebug';
import * as js from '../utils/js';
+4
View File
@@ -24,6 +24,10 @@
THE SOFTWARE.
*/
/**
* @category core/value-types
*/
import CCClass from '../data/class';
import {clamp, vec2} from '../vmath';
import Mat4 from './mat4';
+4
View File
@@ -24,6 +24,10 @@
THE SOFTWARE.
*/
/**
* @category core/value-types
*/
import CCClass from '../data/class';
import {clamp, vec3} from '../vmath';
import Mat4 from './mat4';
+1 -1
View File
@@ -30,7 +30,7 @@ import Mat4 from './mat4';
import { ValueType } from './value-type';
/**
* @category Core/Math
* @category core/value-types
*/
/**