文档

Unity Engine

Unity Engine

IsBlittable

Gets whether a struct is blittable.
阅读时间1 分钟最后更新于 1 个月前

Definition

IsBlittable<T>()

Gets whether a struct is blittable.
public static bool IsBlittable<T>() where T : struct

Returns

Type

Description

boolTrue if struct is blittable, otherwise false.

IsBlittable(Type)

Gets whether a struct is blittable.
public static bool IsBlittable(Type type)

Parameters

type

The
System.Type
of a struct.

Returns

Type

Description

boolTrue if struct is blittable, otherwise false.