s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
jams
Workshop
Steam
open_in_new
Steam Workshop
Assets
view_in_ar
Models
texture
Materials
apparel
Clothing
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
ClipBuilder
AddEvent
chevron_left
Classes
class
ClipBuilder
Constructors
functions
ClipBuilder
Properties
data_object
DisableInterpolation
data_object
FrameCount
data_object
FrameRate
data_object
IsAdditive
data_object
Skeleton
Methods
functions
AddEvent
functions
AddFloatChannelTrack
functions
AddFrame
functions
AddMorphTrack
functions
AddSyncEvent
functions
Create
AddEvent
Add a registered game-defined animation event with normalized start time and duration. Each clip accepts 1024 events and 1 MiB of event data, with up to 64 KiB of JSON per event.
method
ClipBuilder
AddEvent
(
float
time
,
AnimationEvent
payload
,
float
duration
)
Parameters
Name
Type
Description
time
float
payload
AnimationEvent
duration
= 0
float
Returns
Type
Description
ClipBuilder
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.