Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IBakedVertexAnimationManager

Interface for baked vertex animation texture, see BakedVertexAnimationManager

since

5.0

Hierarchy

  • IBakedVertexAnimationManager

Implemented by

Index

Properties

animationParametersSearch playground for animationParameters

animationParameters: Vector4

The animation parameters for the mesh. See setAnimationParameters()

isEnabledSearch playground for isEnabled

isEnabled: boolean

Gets or sets a boolean indicating if the edgesRenderer is active

textureSearch playground for texture

The vertex animation texture

timeSearch playground for time

time: number

The time counter, to pick the correct animation frame.

Methods

bindSearch playground for bind

  • bind(effect: Effect, useInstances: boolean): void
  • Binds to the effect.

    Parameters

    • effect: Effect

      The effect to bind to.

    • useInstances: boolean

      True when it's an instance.

    Returns void

disposeSearch playground for dispose

  • dispose(forceDisposeTextures?: boolean): void
  • Disposes the resources of the manager.

    Parameters

    • Optional forceDisposeTextures: boolean

      Forces the disposal of all textures.

    Returns void

getClassNameSearch playground for getClassName

  • getClassName(): string
  • Get the current class name useful for serialization or dynamic coding.

    Returns string

    "BakedVertexAnimationManager"

setAnimationParametersSearch playground for setAnimationParameters

  • setAnimationParameters(startFrame: number, endFrame: number, offset: number, speedFramesPerSecond: number): void
  • Sets animation parameters.

    Parameters

    • startFrame: number

      The first frame of the animation.

    • endFrame: number

      The last frame of the animation.

    • offset: number

      The offset when starting the animation.

    • speedFramesPerSecond: number

      The frame rate.

    Returns void

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method