SegmentationTextureProvider
Represents a provider specifically designed for the SegmentationTexture asset.
| Type | Name | Interface Description |
|---|---|---|
| Variables | invertMask: boolean | • Function: Whether the generated mask output is inverted. |
| Variables | petType: PetType[] | • Function: Selected pet categories used when |
| Variables | segmentationType: SegmentationType | • Function: The segmentation type used by this provider. Determines which segmentation algorithm is active and which secondary properties ( |
| Variables | smoothness: number | • Function: Smoothness factor applied to the segmentation mask edge. Valid range: |
| Variables | trackIndex: number[] | • Function: Tracked face/body indices for the current segmentation type. Supported types: |
| Functions | constructor() |
Examples
constructor()
let obj = new APJS.SegmentationTextureProvider();
Use Case
@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use SegmentationTextureProvider here
}
onUpdate(deltaTime: number) {
}
}