Show / Hide Table of Contents

Class DatasmithContentBlueprintLibrary

Datasmith Content Blueprint Library

Inheritance
System.Object
UObject
BlueprintFunctionLibrary
DatasmithContentBlueprintLibrary
Inherited Members
UObject.TransientPackage
UObject.CastTo<T>(UObject)
UObject.CastTo(UObject, Type)
UObject.RemoveObject(UObject)
UObject.MakeObjectArrayField<T>(NativeArray*)
UObject.NotImplemented<T>()
UObject.Construct()
UObject.GetHashCode()
UObject.GetName()
UObject.ToString()
UObject.Name
UObject._None
UObject.None
UObject.ObjPointer
UObject.LoadObjectFromClass(Class, UObject, String, String, LoadFlags, PackageMap, Boolean)
UObject.LoadClass(Class, UObject, String, String, LoadFlags, PackageMap)
UObject.GetPropertyFor<T>(Name)
UObject.ExecuteUbergraph
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.DatasmithContent
Assembly: UE4DotNet.dll
Syntax
public class DatasmithContentBlueprintLibrary : BlueprintFunctionLibrary

Properties

| Improve this Doc View Source

DefaultObject

Get UE4 Default Object for this Class

Declaration
public static DatasmithContentBlueprintLibrary DefaultObject { get; }
Property Value
Type Description
DatasmithContentBlueprintLibrary
| Improve this Doc View Source

StaticClass

Get UE4 Class

Declaration
public static Class StaticClass { get; }
Property Value
Type Description
Class

Methods

| Improve this Doc View Source

GetAllDatasmithUserData(SubclassOf<UObject>)

Find all Datasmith User Data of loaded objects of the given type.

Declaration
public static IReadOnlyCollection<DatasmithAssetUserData> GetAllDatasmithUserData(SubclassOf<UObject> ObjectClass)
Parameters
Type Name Description
SubclassOf<UObject> ObjectClass
Returns
Type Description
System.Collections.Generic.IReadOnlyCollection<DatasmithAssetUserData>
Remarks

This is a slow operation, so editor only. @param ObjectClass Class of the object on which to filter, if specificed; otherwise there's no filtering @param OutUserData Output array of Datasmith User Data.

| Improve this Doc View Source

GetAllObjectsAndValuesForKey(Name, SubclassOf<UObject>)

Find all loaded objects of the given type that have a Datasmith User Data that contains the given key and their associated values.

Declaration
public static (IReadOnlyCollection<UObject>, IReadOnlyCollection<string>) GetAllObjectsAndValuesForKey(Name Key, SubclassOf<UObject> ObjectClass)
Parameters
Type Name Description
Name Key
SubclassOf<UObject> ObjectClass
Returns
Type Description
System.ValueTuple<System.Collections.Generic.IReadOnlyCollection<UObject>, System.Collections.Generic.IReadOnlyCollection<System.String>>
Remarks

This is a slow operation, so editor only. @param Key The key to find in the Datasmith User Data. @param ObjectClass Class of the object on which to filter, if specificed; otherwise there's no filtering @param OutObjects Output array of objects for which the Datasmith User Data match the given key. @param OutValues Output array of values associated with each object in OutObjects.

| Improve this Doc View Source

GetDatasmithUserData(UObject)

Get the Datasmith User Data of a given object @

Declaration
public static DatasmithAssetUserData GetDatasmithUserData(UObject UObject)
Parameters
Type Name Description
UObject UObject
Returns
Type Description
DatasmithAssetUserData
Remarks

param Object The Object from which to retrieve the Datasmith User Data. @return The Datasmith User Data if it exists; nullptr, otherwise

| Improve this Doc View Source

GetDatasmithUserDataKeysAndValuesForValue(UObject, String)

Get the keys and values for which the associated value contains the string to match for the Datasmith User Data of the given object.

Declaration
public static (IReadOnlyCollection<Name>, IReadOnlyCollection<string>) GetDatasmithUserDataKeysAndValuesForValue(UObject UObject, string StringToMatch)
Parameters
Type Name Description
UObject UObject
System.String StringToMatch
Returns
Type Description
System.ValueTuple<System.Collections.Generic.IReadOnlyCollection<Name>, System.Collections.Generic.IReadOnlyCollection<System.String>>
Remarks

@param Object The Object from which to retrieve the Datasmith User Data. @param StringToMatch The string to match in the values. @param OutKeys Output array of keys for which the associated values contain the string to match. @param OutValues Output array of values associated to the keys.

| Improve this Doc View Source

GetDatasmithUserDataValueForKey(UObject, Name)

Get the value of the given key for the Datasmith User Data of the given object.

Declaration
public static string GetDatasmithUserDataValueForKey(UObject UObject, Name Key)
Parameters
Type Name Description
UObject UObject
Name Key
Returns
Type Description
System.String
Remarks

@param Object The Object from which to retrieve the Datasmith User Data. @param Key The key to find in the Datasmith User Data. @return The string value associated with the given key

| Improve this Doc View Source

New(UObject, Name)

Spawn an object of this class

Declaration
public static DatasmithContentBlueprintLibrary New(UObject obj = null, Name name = default(Name))
Parameters
Type Name Description
UObject obj
Name name
Returns
Type Description
DatasmithContentBlueprintLibrary

Operators

| Improve this Doc View Source

Implicit(IntPtr to DatasmithContentBlueprintLibrary)

Convert from IntPtr to UObject

Declaration
public static implicit operator DatasmithContentBlueprintLibrary(IntPtr p)
Parameters
Type Name Description
System.IntPtr p
Returns
Type Description
DatasmithContentBlueprintLibrary
  • Improve this Doc
  • View Source
Back to top Generated by DocFX