Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


IsBlittable

Gets whether a struct is blittable.
Read time 1 minuteLast updated 14 days ago

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.