[F] getResourceLocationType
function getResourceLocationType(program, entity): Model | undefined;Returns the resource model associated directly with a location scalar, or undefined if none was set.
Does not search base scalars; for a scalar extending ResourceLocation<T>, query the decorated base scalar.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
entity | Scalar |
Returns
Section titled “Returns”Model | undefined