Skip to main content
Ctrl+K
Carbonite SDK - Home

Carbonite SDK

  • gitlab
  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch
Carbonite SDK - Home

Carbonite SDK

  • gitlab
  • twitter
  • youtube
  • instagram
  • www
  • linkedin
  • twitch

Table of Contents

  • Carbonite SDK API
  • core
  • createType

createType#

Fully qualified name: omni::core::createType

Defined in omni/core/ITypeFactory.h

template<typename T = IObject>
inline ObjectPtr<T> omni::core::createType(
TypeId id,
const char *moduleName = nullptr,
uint32_t version = 0,
)#

Instantiates the given type and casts it to T.

The given type id can be an implementation id.

If the interface type T is not implemented by the type id, nullptr is returned.

See also

omni::core::ITypeFactory_abi::createType_abi() for instantiation rules.

previous

cast

next

createType

On this page
  • createType()
NVIDIA NVIDIA

Copyright © 2018-2025, NVIDIA Corporation.

Last updated on Feb 24, 2025.