您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
48 行
812 B
48 行
812 B
//
|
|
// This file was automatically generated. Please don't edit by hand.
|
|
//
|
|
|
|
#ifndef GEOMETRYUTILS_CS_HLSL
|
|
#define GEOMETRYUTILS_CS_HLSL
|
|
// Generated from UnityEngine.Experimental.Rendering.OrientedBBox
|
|
// PackingRules = Exact
|
|
struct OrientedBBox
|
|
{
|
|
float3 right;
|
|
float extentX;
|
|
float3 up;
|
|
float extentY;
|
|
float3 center;
|
|
float extentZ;
|
|
};
|
|
|
|
//
|
|
// Accessors for UnityEngine.Experimental.Rendering.OrientedBBox
|
|
//
|
|
float3 GetRight(OrientedBBox value)
|
|
{
|
|
return value.right;
|
|
}
|
|
float GetExtentX(OrientedBBox value)
|
|
{
|
|
return value.extentX;
|
|
}
|
|
float3 GetUp(OrientedBBox value)
|
|
{
|
|
return value.up;
|
|
}
|
|
float GetExtentY(OrientedBBox value)
|
|
{
|
|
return value.extentY;
|
|
}
|
|
float3 GetCenter(OrientedBBox value)
|
|
{
|
|
return value.center;
|
|
}
|
|
float GetExtentZ(OrientedBBox value)
|
|
{
|
|
return value.extentZ;
|
|
}
|
|
|
|
|
|
#endif
|