forked from serjIII/threejsSDK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBooleanKeyframeTrack.js
1 lines (1 loc) · 11.8 KB
/
BooleanKeyframeTrack.js
1
{"payload":{"allShortcutsEnabled":true,"fileTree":{"src/animation/tracks":{"items":[{"name":"BooleanKeyframeTrack.js","path":"src/animation/tracks/BooleanKeyframeTrack.js","contentType":"file"},{"name":"ColorKeyframeTrack.js","path":"src/animation/tracks/ColorKeyframeTrack.js","contentType":"file"},{"name":"NumberKeyframeTrack.js","path":"src/animation/tracks/NumberKeyframeTrack.js","contentType":"file"},{"name":"QuaternionKeyframeTrack.js","path":"src/animation/tracks/QuaternionKeyframeTrack.js","contentType":"file"},{"name":"StringKeyframeTrack.js","path":"src/animation/tracks/StringKeyframeTrack.js","contentType":"file"},{"name":"VectorKeyframeTrack.js","path":"src/animation/tracks/VectorKeyframeTrack.js","contentType":"file"}],"totalCount":6},"src/animation":{"items":[{"name":"tracks","path":"src/animation/tracks","contentType":"directory"},{"name":"AnimationAction.js","path":"src/animation/AnimationAction.js","contentType":"file"},{"name":"AnimationClip.js","path":"src/animation/AnimationClip.js","contentType":"file"},{"name":"AnimationMixer.js","path":"src/animation/AnimationMixer.js","contentType":"file"},{"name":"AnimationObjectGroup.js","path":"src/animation/AnimationObjectGroup.js","contentType":"file"},{"name":"AnimationUtils.js","path":"src/animation/AnimationUtils.js","contentType":"file"},{"name":"KeyframeTrack.js","path":"src/animation/KeyframeTrack.js","contentType":"file"},{"name":"PropertyBinding.js","path":"src/animation/PropertyBinding.js","contentType":"file"},{"name":"PropertyMixer.js","path":"src/animation/PropertyMixer.js","contentType":"file"}],"totalCount":9},"src":{"items":[{"name":"animation","path":"src/animation","contentType":"directory"},{"name":"audio","path":"src/audio","contentType":"directory"},{"name":"cameras","path":"src/cameras","contentType":"directory"},{"name":"core","path":"src/core","contentType":"directory"},{"name":"extras","path":"src/extras","contentType":"directory"},{"name":"geometries","path":"src/geometries","contentType":"directory"},{"name":"helpers","path":"src/helpers","contentType":"directory"},{"name":"lights","path":"src/lights","contentType":"directory"},{"name":"loaders","path":"src/loaders","contentType":"directory"},{"name":"materials","path":"src/materials","contentType":"directory"},{"name":"math","path":"src/math","contentType":"directory"},{"name":"objects","path":"src/objects","contentType":"directory"},{"name":"renderers","path":"src/renderers","contentType":"directory"},{"name":"scenes","path":"src/scenes","contentType":"directory"},{"name":"textures","path":"src/textures","contentType":"directory"},{"name":"Three.Legacy.js","path":"src/Three.Legacy.js","contentType":"file"},{"name":"Three.js","path":"src/Three.js","contentType":"file"},{"name":"constants.js","path":"src/constants.js","contentType":"file"},{"name":"utils.js","path":"src/utils.js","contentType":"file"}],"totalCount":19},"":{"items":[{"name":".github","path":".github","contentType":"directory"},{"name":"build","path":"build","contentType":"directory"},{"name":"docs","path":"docs","contentType":"directory"},{"name":"editor","path":"editor","contentType":"directory"},{"name":"examples","path":"examples","contentType":"directory"},{"name":"files","path":"files","contentType":"directory"},{"name":"manual","path":"manual","contentType":"directory"},{"name":"playground","path":"playground","contentType":"directory"},{"name":"src","path":"src","contentType":"directory"},{"name":"test","path":"test","contentType":"directory"},{"name":"utils","path":"utils","contentType":"directory"},{"name":".editorconfig","path":".editorconfig","contentType":"file"},{"name":".eslintrc.json","path":".eslintrc.json","contentType":"file"},{"name":".gitattributes","path":".gitattributes","contentType":"file"},{"name":".gitignore","path":".gitignore","contentType":"file"},{"name":"LICENSE","path":"LICENSE","contentType":"file"},{"name":"README.md","path":"README.md","contentType":"file"},{"name":"SECURITY.md","path":"SECURITY.md","contentType":"file"},{"name":"icon.png","path":"icon.png","contentType":"file"},{"name":"package-lock.json","path":"package-lock.json","contentType":"file"},{"name":"package.json","path":"package.json","contentType":"file"}],"totalCount":21}},"fileTreeProcessingTime":13.604587,"foldersToFetch":[],"reducedMotionEnabled":"system","repo":{"id":576201,"defaultBranch":"dev","name":"three.js","ownerLogin":"mrdoob","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2010-03-23T20:58:01.000+02:00","ownerAvatar":"https://avatars.githubusercontent.com/u/97088?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"master","listCacheKey":"v0:1688979432.0","canEdit":true,"refType":"branch","currentOid":"edefdc237b2528b9668fb873a1c06cb835840303"},"path":"src/animation/tracks/BooleanKeyframeTrack.js","currentUser":{"id":24853051,"login":"serjIII","userEmail":"[email protected]"},"blob":{"rawBlob":"import { InterpolateDiscrete } from '../../constants.js';\nimport { KeyframeTrack } from '../KeyframeTrack.js';\n\n/**\n * A Track of Boolean keyframe values.\n */\nclass BooleanKeyframeTrack extends KeyframeTrack {}\n\nBooleanKeyframeTrack.prototype.ValueTypeName = 'bool';\nBooleanKeyframeTrack.prototype.ValueBufferType = Array;\nBooleanKeyframeTrack.prototype.DefaultInterpolation = InterpolateDiscrete;\nBooleanKeyframeTrack.prototype.InterpolantFactoryMethodLinear = undefined;\nBooleanKeyframeTrack.prototype.InterpolantFactoryMethodSmooth = undefined;\n\n// Note: Actually this track could have a optimized / compressed\n// representation of a single value and a custom interpolant that\n// computes \"firstValue ^ isOdd( index )\".\n\nexport { BooleanKeyframeTrack };\n","colorizedLines":null,"stylingDirectives":[[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":8,"cssClass":"pl-kos"},{"start":9,"end":28,"cssClass":"pl-v"},{"start":29,"end":30,"cssClass":"pl-kos"},{"start":31,"end":35,"cssClass":"pl-k"},{"start":36,"end":56,"cssClass":"pl-s"},{"start":56,"end":57,"cssClass":"pl-kos"}],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":8,"cssClass":"pl-kos"},{"start":9,"end":22,"cssClass":"pl-v"},{"start":23,"end":24,"cssClass":"pl-kos"},{"start":25,"end":29,"cssClass":"pl-k"},{"start":30,"end":51,"cssClass":"pl-s"},{"start":51,"end":52,"cssClass":"pl-kos"}],[],[{"start":0,"end":3,"cssClass":"pl-c"}],[{"start":0,"end":38,"cssClass":"pl-c"}],[{"start":0,"end":3,"cssClass":"pl-c"}],[{"start":0,"end":5,"cssClass":"pl-k"},{"start":6,"end":26,"cssClass":"pl-v"},{"start":27,"end":34,"cssClass":"pl-k"},{"start":35,"end":48,"cssClass":"pl-v"},{"start":49,"end":50,"cssClass":"pl-kos"},{"start":50,"end":51,"cssClass":"pl-kos"}],[],[{"start":0,"end":20,"cssClass":"pl-v"},{"start":20,"end":21,"cssClass":"pl-kos"},{"start":21,"end":30,"cssClass":"pl-c1"},{"start":30,"end":31,"cssClass":"pl-kos"},{"start":31,"end":44,"cssClass":"pl-c1"},{"start":45,"end":46,"cssClass":"pl-c1"},{"start":47,"end":53,"cssClass":"pl-s"},{"start":53,"end":54,"cssClass":"pl-kos"}],[{"start":0,"end":20,"cssClass":"pl-v"},{"start":20,"end":21,"cssClass":"pl-kos"},{"start":21,"end":30,"cssClass":"pl-c1"},{"start":30,"end":31,"cssClass":"pl-kos"},{"start":31,"end":46,"cssClass":"pl-c1"},{"start":47,"end":48,"cssClass":"pl-c1"},{"start":49,"end":54,"cssClass":"pl-v"},{"start":54,"end":55,"cssClass":"pl-kos"}],[{"start":0,"end":20,"cssClass":"pl-v"},{"start":20,"end":21,"cssClass":"pl-kos"},{"start":21,"end":30,"cssClass":"pl-c1"},{"start":30,"end":31,"cssClass":"pl-kos"},{"start":31,"end":51,"cssClass":"pl-c1"},{"start":52,"end":53,"cssClass":"pl-c1"},{"start":54,"end":73,"cssClass":"pl-v"},{"start":73,"end":74,"cssClass":"pl-kos"}],[{"start":0,"end":20,"cssClass":"pl-v"},{"start":20,"end":21,"cssClass":"pl-kos"},{"start":21,"end":30,"cssClass":"pl-c1"},{"start":30,"end":31,"cssClass":"pl-kos"},{"start":31,"end":61,"cssClass":"pl-c1"},{"start":62,"end":63,"cssClass":"pl-c1"},{"start":64,"end":73,"cssClass":"pl-c1"},{"start":73,"end":74,"cssClass":"pl-kos"}],[{"start":0,"end":20,"cssClass":"pl-v"},{"start":20,"end":21,"cssClass":"pl-kos"},{"start":21,"end":30,"cssClass":"pl-c1"},{"start":30,"end":31,"cssClass":"pl-kos"},{"start":31,"end":61,"cssClass":"pl-c1"},{"start":62,"end":63,"cssClass":"pl-c1"},{"start":64,"end":73,"cssClass":"pl-c1"},{"start":73,"end":74,"cssClass":"pl-kos"}],[],[{"start":0,"end":64,"cssClass":"pl-c"}],[{"start":0,"end":65,"cssClass":"pl-c"}],[{"start":0,"end":42,"cssClass":"pl-c"}],[],[{"start":0,"end":6,"cssClass":"pl-k"},{"start":7,"end":8,"cssClass":"pl-kos"},{"start":9,"end":29,"cssClass":"pl-v"},{"start":30,"end":31,"cssClass":"pl-kos"},{"start":31,"end":32,"cssClass":"pl-kos"}]],"csv":null,"csvError":null,"dependabotInfo":{"showConfigurationBanner":false,"configFilePath":null,"networkDependabotPath":"/mrdoob/three.js/network/updates","dismissConfigurationNoticePath":"/settings/dismiss-notice/dependabot_configuration_notice","configurationNoticeDismissed":false,"repoAlertsPath":"/mrdoob/three.js/security/dependabot","repoSecurityAndAnalysisPath":"/mrdoob/three.js/settings/security_analysis","repoOwnerIsOrg":false,"currentUserCanAdminRepo":false},"displayName":"BooleanKeyframeTrack.js","displayUrl":"https://github.com/mrdoob/three.js/blob/master/src/animation/tracks/BooleanKeyframeTrack.js?raw=true","headerInfo":{"blobSize":"757 Bytes","deleteInfo":{"deletePath":"https://github.com/mrdoob/three.js/delete/master/src/animation/tracks/BooleanKeyframeTrack.js","deleteTooltip":"Fork this repository and delete the file"},"editInfo":{"editTooltip":"Fork this repository and edit the file"},"ghDesktopPath":"https://desktop.github.com","gitLfsPath":null,"onBranch":true,"shortPath":"277b369","siteNavLoginPath":"/login?return_to=https%3A%2F%2Fgithub.com%2Fmrdoob%2Fthree.js%2Fblob%2Fmaster%2Fsrc%2Fanimation%2Ftracks%2FBooleanKeyframeTrack.js","isCSV":false,"isRichtext":false,"toc":null,"lineInfo":{"truncatedLoc":"19","truncatedSloc":"15"},"mode":"file"},"image":false,"isCodeownersFile":null,"isValidLegacyIssueTemplate":false,"issueTemplateHelpUrl":"https://docs.github.com/articles/about-issue-and-pull-request-templates","issueTemplate":null,"discussionTemplate":null,"language":"JavaScript","large":false,"loggedIn":true,"newDiscussionPath":"/mrdoob/three.js/discussions/new","newIssuePath":"/mrdoob/three.js/issues/new","planSupportInfo":{"repoIsFork":null,"repoOwnedByCurrentUser":null,"requestFullPath":"/mrdoob/three.js/blob/master/src/animation/tracks/BooleanKeyframeTrack.js","showFreeOrgGatedFeatureMessage":null,"showPlanSupportBanner":null,"upgradeDataAttributes":null,"upgradePath":null},"publishBannersInfo":{"dismissActionNoticePath":"/settings/dismiss-notice/publish_action_from_dockerfile","dismissStackNoticePath":"/settings/dismiss-notice/publish_stack_from_file","releasePath":"/mrdoob/three.js/releases/new?marketplace=true","showPublishActionBanner":false,"showPublishStackBanner":false},"renderImageOrRaw":false,"richText":null,"renderedFileInfo":null,"tabSize":8,"topBannersInfo":{"overridingGlobalFundingFile":false,"globalPreferredFundingPath":null,"repoOwner":"mrdoob","repoName":"three.js","showInvalidCitationWarning":false,"citationHelpUrl":"https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-on-github/about-citation-files","showDependabotConfigurationBanner":false,"actionsOnboardingTip":null},"truncated":false,"viewable":true,"workflowRedirectUrl":null,"symbols":{"timedOut":false,"notAnalyzed":false,"symbols":[{"name":"BooleanKeyframeTrack","kind":"class","identStart":165,"identEnd":185,"extentStart":159,"extentEnd":210,"fullyQualifiedName":"BooleanKeyframeTrack","identUtf16":{"start":{"lineNumber":6,"utf16Col":6},"end":{"lineNumber":6,"utf16Col":26}},"extentUtf16":{"start":{"lineNumber":6,"utf16Col":0},"end":{"lineNumber":6,"utf16Col":51}}}]}},"csrf_tokens":{"/mrdoob/three.js/branches":{"post":"IwPbwVViZ1APukYUvbGU8BsZJI7Kv5TgXebn3k3kMJDS4wW8H_XlgU77OhAmkGsvN9Io4J0cSlHMY_kSLGB3vg"}}},"title":"three.js/src/animation/tracks/BooleanKeyframeTrack.js at master · mrdoob/three.js","locale":"en"}