AutoMovie API
    Preparing search index...

    Function samplePracticalSurfaceMaterial

    • Sample the material id for one prop part from an admitted shot. Time is shot-local seconds in [0, duration). A key takes effect at its exact time. Returns undefined for an untracked part or a time outside that interval.

      Parameters

      • shot: IAutoMovieShot

        An admitted shot with optional practical surface tracks.

      • node: string

        The placed prop's scene node id.

      • part: string

        Its model part id.

      • time: number

        The shot-local sample time in seconds.

      Returns string | undefined

      The material id in the target model, or undefined.