-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deploy(docs): Fix documentation build.
- Loading branch information
Showing
3 changed files
with
563 additions
and
441 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
title: API | ||
description: "" | ||
menu: | ||
docs: | ||
parent: project-setup | ||
weight: 299 | ||
toc: true | ||
--- | ||
|
||
## RtpcCompatibleValue {#rtpc-compatible-value} | ||
|
||
An RTPC-compatible value is an object that can hold a static value or a link to an RTPC value. | ||
|
||
### kind {#rtpc-compatible-value-kind} | ||
|
||
`ValueKind` `default: Static` | ||
|
||
Specifies the kind of value that should be used. The possible values are: | ||
|
||
| ID | Description | | ||
| ------ | ------------------------------------------------------------- | | ||
| Static | The parameter is static value specified by the `value` field. | | ||
| RTPC | The parameter is a RTPC value specified by the `rtpc` field. | | ||
|
||
When the `kind` property is set to `Static`, it is required to defined a `value` field. When the `kind` property is set to `RTPC`, it is required to define a `rtpc` field. | ||
|
||
The default value is `Static`. | ||
|
||
### value {#rtpc-compatible-value-value} | ||
|
||
`float` | ||
|
||
A static value that will be used at runtime. This property is only available when the `kind` property is set to `Static`. | ||
|
||
### rtpc {#rtpc-compatible-value-rtpc} | ||
|
||
`RtpcParameter` | ||
|
||
An object that describe how the value should be updated according to a RTPC object. This object takes as input: | ||
|
||
- `id`: The ID of the RTPC object to use. | ||
- `curve`: A [CurveDefinition] object that defines the function to apply on the RTPC value to compute this parameter value. | ||
|
||
[CurveDefinition]: #curve-definition |
Oops, something went wrong.