API

Function serializeAsCameraReference

  • Decorator used to define property that can be serialized as reference to a camera

    Parameters

    • OptionalsourceName: string

      defines the name of the property to decorate

    Returns (_value: unknown, context: SerializableContext) => void

    Property Decorator