Skip to main content

CullMode

Defines the culling mode for rendering.

TypeNameInterface Description
EnumBack

Function: Back-facing faces are culled.

EnumFront

Function: Front-facing faces are culled.

EnumFrontAndBack

Function: Both front and back-facing faces are culled.

EnumNone

Function: No faces are culled.

Examples

Back

let value = APJS.CullMode.Back;

Front

let value = APJS.CullMode.Front;

FrontAndBack

let value = APJS.CullMode.FrontAndBack;

None

let value = APJS.CullMode.None;

Use Case

@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use CullMode here
}
onUpdate(deltaTime: number) {
}
}
Copyright © 2026 TikTok. All rights reserved.
About TikTokHelp CenterCareersContactLegalTerms of ServicePrivacy PolicyCookies